A BTCPay Server hack has drained at least $1.6 million in bitcoin and litecoin from merchants who run the popular open source payment tool on their own servers. Attackers swept the hot wallets of servers running BTCPay Server 2.4.1 or older between 30 October and 2 November, and the project told every operator to switch their servers off while it investigated, CoinDesk and The Hacker News reported.
The thefts were overshadowed by the $6.3 billion Binance hack the same week, but they hit a different group: small businesses that accept bitcoin directly, without a payment company in between.
What happened to BTCPay Server users
BTCPay first warned on X on 1 November that it was receiving reports of hot wallets on BTCPay Servers “being swept by unauthorized attackers,” and asked operators to run its shutdown script until further notice, CoinDesk reported. About two hours later founder Nicolas Dorier said the thefts appeared to involve releases older than 2.4.2, that the project’s own public servers running 2.4.7 had not been attacked, and that the attacker had logged in as an administrator on the affected servers. How that access was obtained was still unknown, he said.
Blockchain data firm Bitquery traced 18.38 BTC and 3,405 LTC, worth about $1.6 million, to the attackers across 682 separate sweeps, The Hacker News and Infosecurity Magazine reported. About 87% of the money moved in a single wave on the afternoon and evening of 1 November. Roughly 267 more sweeps, worth about $150,000, happened after BTCPay told operators to shut down, which suggests some merchants did not see the warning in time. Bitquery’s figure is a minimum: it does not include other addresses, other coins or Lightning funds.
| Date (UTC) | What happened |
|---|---|
| 7 August | BTCPay releases 2.4.2, fixing a flaw that exposed Lightning node credentials in older versions |
| 30 October | First visible sweep of a merchant hot wallet, according to Bitquery |
| 1 November, afternoon and evening | About 87% of the traced funds are swept in one wave |
| 1 November, 22:25 | BTCPay tells all operators to shut down their servers |
| 2 November | BTCPay links the thefts to version 2.4.1 and older |
Why merchants were exposed
BTCPay Server is free software that a shop installs on its own machine, so payments go straight into the merchant’s wallet with no custodian in the middle. That also means there is no central switch: BTCPay cannot update or shut down servers itself, and each operator has to act, CoinDesk noted.
The risk sat in the hot wallet option. To pay out refunds or forward funds automatically, a merchant can let the server keep the wallet’s seed phrase on an internet connected machine, a setting BTCPay’s own documentation labels as dangerous, according to CoinDesk. Anyone who gains admin access to such a server can spend the funds. Merchants who received payments into a watch only wallet, with the keys kept offline, were not exposed in the same way.
It is the second incident this year. In August BTCPay disclosed a critical flaw in older versions that let attackers steal credential files for Lightning nodes and move their funds; it was fixed in 2.4.2. BTCPay says the November attackers used a different method, Infosecurity Magazine reported. Version 2.4.7, released just before the first sweep, also fixes one critical and several medium severity flaws found by an automated open source scanner from Anthropic, according to The Hacker News, and BTCPay said it had no credible reports of drains on that version.
What BTCPay Server operators should do
- Do not simply restart an old server. BTCPay advises moving to a fresh server with a new wallet and a new seed phrase, even if no theft has been noticed.
- If funds were stolen or unauthorised access is suspected, treat the whole machine and every secret on it as compromised.
- Update to version 2.4.7 or later before going back online, turn on two factor authentication, change admin passwords and rotate API keys.
- Keep only small operating balances in a server hot wallet and move the rest to keys held offline, as explained in our guide to hot and cold wallets.
- The losses reported so far are funds in merchants’ own hot wallets.
The pattern is familiar from the wider industry. October was the worst month on record for crypto hacks, and Binance’s own incident report traced its losses to stolen internal access rather than broken cryptography. In each case the weak point was a machine that could sign transactions.
What to watch
- A full BTCPay post mortem explaining how attackers gained admin access on older versions.
- Whether Bitquery or other tracers find more stolen funds, including Lightning balances.
- How quickly self hosted merchants move to 2.4.7 and fresh wallets.
You might also like
Sources: CoinDesk, The Hacker News, Infosecurity Magazine, crypto.news








