The Bitcoin ecosystem is once again in turmoil. This time, the popular payment processing platform BTCPay Server has come under fire. I have confirmed information about the active exploitation of a critical vulnerability that allowed attackers to gain unauthorized access to users' funds. This is a serious breach affecting all software versions up to 2.4.2, and every operator is currently at risk.

The core of the problem and the attack vector

The vulnerability allowed a remote attacker to gain access to confidential authentication files, namely the .macaroon files for LND — one of the most common implementations of the Lightning Network. Once these data were obtained, the attacker gained full control over the victim's LND node, which opened a direct opportunity to withdraw all funds from that node. This is not a theoretical threat: the BTCPay Server team has confirmed that attacks have already occurred, and some users have suffered financial losses.

Immediate actions for operators

The developers promptly released update 2.4.2, which closes this breach. However, the situation requires immediate intervention. All operators using LND are strongly advised to urgently update to version 2.4.2 and LND 0.21.1. The update process will also automatically recreate the compromised macaroon files. If, for any reason, the patch cannot be installed, the only safe solution is to completely shut down the servers until the threat is eliminated.

It is important to emphasize: the attack affected exclusively configurations with LND. Users not using the Lightning Network were not affected. Nevertheless, I recommend that everyone, without exception, conduct a security audit. LND operators should also carefully review their node history for suspicious activity — unauthorized connections, unexpected channel closures, or unknown transactions.

A systemic problem, not a protocol one

This incident occurred against the backdrop of another high-profile event — the confirmed theft of 1719 BTC from Coldcard hardware wallet users, estimated at approximately $111 million, and with all checks taken into account, the damage could exceed $130 million. It is important to understand: none of these attacks affected the Bitcoin protocol itself. The vulnerabilities were found in the tools built on top of it.

My analysis: This week has been a serious blow to the security of Bitcoin infrastructure. Although the protocol remains unshakable, the incidents with BTCPay Server and Coldcard highlight that the weak link is always complex software. This is a wake-up call for the entire industry: we must pay more attention to the security of peripheral tools, not just the base layer. Operators of critical services now vitally need to act proactively, rather than react to hacks that have already occurred.