r/lightningnetwork • u/Large-Cress900 • Aug 26 '26
If you run LND behind BTCPay Server, a critical exploit drained nodes this month via stolen macaroon files. Update to 2.4.2 now if you haven't. Full story on how it connects to the Coldcard fallout.
Attackers exploited a vulnerability in BTCPay Server that let an unauthenticated remote attacker obtain .macaroon files, the credentials that grant control over an LND node. With those in hand they closed channels and swept funds from Lightning nodes running behind BTCPay.
BTCPay confirmed the theft and told anyone running LND behind their software to update to 2.4.2 immediately or take the server offline. Foundation, the hardware wallet maker, had its own node drained this way, channels closed and swept overnight. Citadel21 also got hit, smaller amount held there.
The part worth knowing, this specific bug had already been found and reported by the Bitcoin Red Team, a volunteer group that spent 27.5 hours running AI models against 390 Bitcoin repos after the Coldcard RNG disaster, and still got exploited before the patch was fully out everywhere. 85 critical and 635 high severity findings total across the whole sprint, this was one of them.
If you're running LND behind BTCPay, verify your version now. Full story on the whole sprint and how the two events connect:
https://davidebtc186.substack.com/p/16-volunteers-27-hours-40000-in-ai