BTCPay Server Confirms Active Exploit of Critical Flaw as Lightning Nodes Are Drained

3 min read
BTCPay Server Confirms Active Exploit of Critical Flaw as Lightning Nodes Are Drained
PrimeXBT Editorial Team
Reviewed by PrimeXBT

Topics in article

BTCPay Server told users on Friday that attackers are actively exploiting a critical vulnerability and urged an immediate update to version 2.4.2 or a shutdown. Hardware wallet maker Foundation and the Bitcoin zine Citadel21 both said their Lightning nodes were swept, in some cases before the warning went out, and the project says the exploited flaw is not the one already disclosed in its changelog.

BTCPay Server, the self-hosted Bitcoin payment processor, warned users on Friday that attackers are actively exploiting a critical vulnerability that can result in the loss of funds. The project urged administrators to install version 2.4.2 and confirm the update in the server footer, or turn their servers off until they could patch.

Nodes swept before the alert went out

Attackers had already drained Lightning nodes by the time the warning circulated, including one run by hardware wallet maker Foundation. According to The Defiant: "Our Foundation node was drained overnight by attackers", said Foundation co-founder and chief executive Zach Herbert, who added that only the Lightning Network node was hit and the hot wallet was untouched.

The pseudonymous commentator hodlonaut said Citadel21's Lightning node was swept too, though not much money was lost there. He added that the caution stemmed from precautions tied to a possible BIP-110 activation.

Not the bug in the changelog

BTCPay Server credited members of the Bitcoin Red Team with reporting the vulnerability, but the project has not disclosed how the flaw works, when the attacks began, or how many servers were compromised. Founder Nicolas Dorier also said the bug being exploited is not the two-factor authentication bypass already disclosed in the 2.4.2 changelog, which was fixed on Aug. 4.

Refresh your macaroons

The project also told users to replace credentials known as macaroons, recreate the macaroons.db file, and refresh authentication strings for other Lightning backends; anyone who generated a hot wallet inside BTCPay should move those funds and recreate it. That step matters because stolen credentials survive a software update — an attacker who copied them before the patch keeps node access until the files are destroyed and reissued.

The incident follows a rough stretch for self-hosted bitcoin infrastructure. A Coldcard firmware flaw has already left a balance of more than 1,700 BTC stolen, according to Galaxy Research.

Swap provider Boltz separately halted its service on Aug. 3, citing AI-assisted attacks. Bitcoin traded near $64,800 on Friday afternoon, up 0.7% over 24 hours and 2.6% on the week, showing no reaction to the disclosure.

Sources:

Trading involves risk.

Most traded markets

XAU / USD
-0.9% 4,127.61
BRENT
+1.35% 73.620
BTC / USD
+0.7% 63,151.2
EUR / USD
-0.12% 1.14269
USTEC
-0.91% 29,428.7
XAU / USD.24
-0.9% 4,127.61
View all markets

Author

PrimeXBT
Our Editorial Team consists of leading experts with a proven record in the fields of trading, cryptocurrencies, blockchain and finance. We thoroughly research the sources of information in order to provide readers with quality content that serves edu...
Read author’s articles
Alert Triangle Risk Disclaimer
Disclaimer: Some past publications may be outdated. We recommend following our news to stay up to date with the latest information. For any questions, feel free to contact our support team via the chat below.
The content provided here is for informational purposes only. It is not intended as personal investment advice and does not constitute a solicitation or invitation to engage in any financial transactions, investments, or related activities. Past performance is not a reliable indicator of future results.
The financial products offered by the Company are complex and come with a high risk of losing money rapidly due to leverage. These products may not be suitable for all investors. Before engaging, you should consider whether you understand how these leveraged products work and whether you can afford the high risk of losing your money.
The Company does not accept clients from the Restricted Jurisdictions as indicated in our website/ T&C. Some services or products may not be available in your jurisdiction.
The applicable legal entity and its respective products and services depend on the client’s country of residence and the entity with which the client has established a contractual relationship during registration.

Today in markets

Browse Crypto News

Register Now

Trading involves risk

Get started in minutes

Our clients love how fast and simple our sign-up is. It takes just a few minutes to get started!

Get Started Get Started
Get started in minutes

Need Help?

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.