BTCPay Server < 2.4.2 - Unauthenticated LND REST API Exposure
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.
PoC 已收录btcpay_server
CVSS—EPSS 2.3%