漏洞描述
BTCPay Server Docker deployments before 2.4.2 publicly proxy the Lightning Network Daemon (LND) REST API at /lnd-rest/btc/ through the bundled nginx reverse proxy, exposing the LND node control API to unauthenticated remote callers. This is the vector behind CVE-2026-119757 (LND macaroon credential disclosure), which was actively exploited in the wild to steal funds. BTCPay Server 2.4.2 removed the public /lnd-rest/btc/ proxy ("Do not expose LND anymore") and force-regenerated all macaroons. This template detects the exposed proxy by eliciting LND's unauthenticated "expected 1 macaroon, got 0" error from /lnd-rest/btc/v1/getinfo.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。