BTCPay Server Releases Emergency Patch Following Exploited LND Vulnerability
A critical flaw exposed Lightning Network credentials to remote attackers, leading to stolen funds before version 2.4.2 was deployed.
At a glance
- What happened
- BTCPay Server released version 2.4.2 to fix an actively exploited vulnerability that allowed attackers to steal LND credentials and drain funds.
- Why it matters
- Unauthenticated remote attackers could obtain full control of Lightning Network Daemon instances running on unpatched deployments.
- Who is affected
- BTCPay Server node operators using LND on versions prior to 2.4.2.
- What's next
- BTCPay Server will publish a full incident postmortem after operators have completed node updates.
- Primary source
- blog.btcpayserver.org: Security Advisory: Update BTCPay Server to 2.4.2 Immediately
Key points
- BTCPay Server patched an actively exploited vulnerability affecting all versions prior to 2.4.2.
- Unauthenticated attackers extracted LND .macaroon credentials to gain node control and siphon funds.
- The 2.4.2 release upgrades LND to 0.21.1, regenerates credentials, and temporarily blocks public LND API access.
Open-source payment processor BTCPay Server released version 2.4.2 to address a critical security flaw that exposed Lightning Network credentials to remote unauthorized access 1. The project confirmed that malicious actors exploited the vulnerability in active attacks, resulting in the theft of user funds from connected Lightning Network Daemon (LND) instances 1. The issue impacts all BTCPay Server deployments prior to version 2.4.2, including all 2.4.2 release candidates 1.
The vulnerability permitted unauthenticated remote attackers to retrieve .macaroon credential files designated for LND 1. With these credentials, an attacker could assume control of an operator's LND node and withdraw balances 1. The development team stated that analyzed exploits targeted only files bearing the .macaroon extension, leaving standard BTCPay Server on-chain wallets, including hot wallets, unaffected 1. However, on-chain balances held directly inside an affected LND node's internal wallet remain at risk if the node's credentials were breached 1. Security researcher Craig Raw was credited with disclosing the vulnerability, alongside analysis assistance from Team Red 1.
Mitigation Steps and Mitigation Changes
BTCPay Server instructed all node operators running LND to update immediately to version 2.4.2, which simultaneously upgrades LND to version 0.21.1 and automatically regenerates credential files 1. Administrators who cannot apply the update right away were instructed to take their instances completely offline 1. Users running alternate Lightning implementations or operating on-chain payment deployments without Lightning are not vulnerable to the credential leakage, though the project still urged them to apply the release 1.
To limit immediate exposure across Docker deployments, version 2.4.2 temporarily disables public access to the LND API 1. Consequently, external mobile and desktop management wallets such as Zeus cannot establish connections via BTCPay Server domains or Tor onion endpoints until public access is safely restored 1. Operators who route LND through custom reverse proxies, separate Tor configurations, or external forwarded ports must manually rotate their macaroons, as BTCPay Server updates cannot modify independently managed network paths 1. A complete postmortem detailing the vulnerability will be published in the coming days once node operators have had sufficient time to patch their installations 1.
Questions this story raises
- Are BTCPay Server on-chain wallets affected by this exploit?
- No. The project confirmed that attacks exclusively targeted .macaroon files used by LND. Standard BTCPay Server on-chain hot and cold wallets were not affected, though on-chain funds stored inside the LND node's internal wallet were at risk.
- Why are third-party wallets like Zeus unable to connect?
- BTCPay Server version 2.4.2 temporarily removed external public access to the LND API on Docker deployments to safeguard servers while the incident is ongoing, blocking incoming remote connections.
Sources
- [1] Security Advisory: Update BTCPay Server to 2.4.2 Immediately — blog.btcpayserver.org, November 2, 2026
Written by Basis Desk's newsroom system from the primary sources above and machine-verified against them before publication. Market figures marked "at the time of writing" come from live exchange data. Report an error: corrections@basisdesk.news · corrections policy.
The Daily Brief, in your inbox at 07:00 ET
Five stories, the numbers that moved, what to watch. Three minutes. No hype, no advice, unsubscribe in one click.
Get the big crypto stories first
A few alerts a day at most: major breaking news and the morning brief. Switch off anytime.
Not financial advice. Basis Desk publishes information, not recommendations. Crypto assets are volatile and you can lose what you invest.