The Bitcoin ecosystem has once again faced a serious security challenge. This time, the popular open-source payment processor BTCPay Server has been targeted by attackers. I have confirmed information that hackers actively exploited a critical vulnerability, leading to unauthorized access to user funds. This is an alarming signal for all operators using this solution.

The essence of the problem and affected versions

The vulnerability affects all versions of BTCPay Server up to 2.4.2. The issue lies in the ability to remotely obtain `.macaroon` authentication files for LND — one of the most common implementations of the Lightning Network protocol. These files provide full control over the node, allowing an attacker to directly withdraw funds. Developers have already released an update to version 2.4.2 that closes this gap, but the damage has already been done.

In an official statement, the team confirmed the fact of attacks and thefts. They are deliberately not disclosing details to give operators time to update their systems. It is important to emphasize that only nodes using LND were affected. Users without Lightning Network and standard hot wallets were not impacted.

Immediate actions for operators

All operators using LND need to urgently update BTCPay Server to version 2.4.2 and LND to version 0.21.1. During the update process, `.macaroon` files will be automatically recreated. If an immediate update is not possible, the only safe solution is to completely shut down the servers. I also recommend conducting a thorough audit of the node's history for suspicious connections, unexpected channel closures, or unauthorized transactions.

Coincidence with the Coldcard attack

This incident occurred almost simultaneously with the disclosure of another large-scale problem. Galaxy Research analysts confirmed that 1,719 BTC (about $111 million) were stolen from users of Coldcard hardware wallets. According to preliminary estimates, the total damage could exceed $130 million after verifying all cases of attacks.

Notably, none of these attacks affected the Bitcoin protocol itself. The vulnerabilities were found in tools built on top of it. This highlights the growing complexity of the ecosystem, where the security of each additional layer becomes critically important.

My analysis: These incidents are a stark reminder that even the most reliable base protocols do not guarantee the security of the entire infrastructure. Each new tool, whether a payment processor or a hardware wallet, adds new attack vectors. In the current environment, operators and users need to exercise maximum vigilance, update software in a timely manner, and consider any complex configurations as a potential target for attackers.