The BTCPay Server team has confirmed active exploitation of a critical vulnerability in their software, which led to the theft of funds from some users. In connection with the incident, developers strongly recommend that all operators immediately update their systems to the latest version — all builds prior to version 2.4.2 are at risk.

The essence of the problem and attack vector

The identified flaw allowed an attacker to remotely gain access to .macaroon authentication files used in LND — one of the most common implementations of the Lightning Network protocol. This scenario opened the path to full control over the victim's LND node, giving the attacker the ability to directly withdraw funds from that node.

In an official statement, the development team noted that they are already aware of cases of successful attacks, and some users have suffered financial losses. At the same time, it is emphasized that the details of the incident are not yet being disclosed — this is done deliberately to give operators time to update before technical details become public knowledge.

Who is at risk and what to do

The critical threat affects exclusively builds integrated with LND. Users using BTCPay Server without Lightning functionality, as well as other second-layer network configurations, have not been affected. Nevertheless, developers advise absolutely all users to perform the update — official on-chain and hot wallets of BTCPay Server have not been compromised.

Operators using LND need to update the system to version 2.4.2 and LND 0.21.1 through the admin panel. The macaroon files will be recreated automatically during the update process. Those who are unable to install the patch immediately are strongly advised to temporarily disable the server. It is also worth checking the node's history for suspicious activity: unknown connections, unexpected channel closures, or unauthorized transactions.

Second wave of attacks on bitcoin infrastructure

This incident has become the second major blow to the security of bitcoin infrastructure in recent days. Earlier, Galaxy Research analysts confirmed that 1719 BTC (approximately $111 million at the time of disclosure) were stolen as a result of attacks on Coldcard hardware wallets. According to expert estimates, after reviewing all cases of attacks, the total damage could exceed $130 million.

It is important to emphasize: none of these attacks affected the bitcoin protocol itself. The vulnerabilities were found in tools built on top of it — in this case, in the payment processor and hardware wallets. This once again demonstrates that security in the ecosystem depends not only on the reliability of the base layer, but also on the quality of implementation of auxiliary software.

My comment: The situation with BTCPay Server is a wake-up call for the entire industry. The Lightning Network is positioned as a scaling solution, but incidents like this show that the infrastructure around it has not yet reached the necessary level of maturity. Node operators should treat security as an ongoing process, not a one-time setup. Updating to current versions is not a recommendation, but a mandatory condition for working with digital assets.