Bitcoin Core wallet rebroadcast can link addresses to node IPs
Bitcoin Core wallet rebroadcast can reveal which node tracks an address; operators with Core wallets should review -walletbroadcast=0.
- Published
- Ecosystem
- Crypto and Web3Open source
- Exploitation
- No. The sources describe only a controlled test on Bitcoin Core’s regtest network, not measured on the live network and with no in-the-wild abuse reported.
What happened
On November 25, a researcher posted a disclosure on Delving Bitcoin describing a privacy leak in Bitcoin Core’s wallet rebroadcast feature. Cyber Security News names the reporter as Bitcoin Core contributor Abubakar Sadiq Ismail Cyber Security News. GBHackers refers to the researcher as ismaelsadeeq GBHackers. Both outlets published their coverage on November 27.
Bitcoin Core can resend unconfirmed transactions that a loaded wallet recognizes, whether the wallet sent or received them. That means a node can show that it tracks a receiving address even if its operator did not send the payment Cyber Security News. GBHackers reports a rebroadcast window of 12 to 36 hours. It also explains that a relaying node does not normally reannounce a transaction already in its mempool to a newly connected peer, and that this difference can expose which node tracks the address GBHackers.
Reported cost and test results:
- The estimated cost is about 18 to 34 cents per probe, covering the small payment and its fee but not the cost of observing the network Cyber Security News, GBHackers.
- In the test on regtest, a local Bitcoin test network, with five wallets across six trials, the correct node was identified in 30 out of 30 attempts Cyber Security News.
- The result has not been measured on Bitcoin’s live network. Which nodes an observer can see, and whether other nodes also relay the payment, could make attribution less clear Cyber Security News.
- GBHackers adds that ordinary relays can create false positives if they previously dropped a transaction and later receive it again GBHackers.
A match shows that a node tracks the address, not who owns the bitcoin. A shared service such as an exchange could track addresses for many users Cyber Security News, GBHackers.
No CVE identifier is mentioned in the sources, and no fixed release is confirmed.
Am I affected?
You may be affected if your setup loads a Bitcoin Core wallet at all, including one used only to watch addresses. The flaw is in the wallet, not in every Bitcoin Core node Cyber Security News.
Third-party software that loads addresses into a Bitcoin Core wallet can inherit the behavior. The two outlets name slightly different examples:
- Cyber Security News cites Sparrow in Bitcoin Core mode and Specter Desktop Cyber Security News.
- GBHackers names Sparrow in its Bitcoin Core integration mode, Specter Desktop with Core watch-only descriptors, and Liana when configured to use a bitcoind backend GBHackers.
Network setup matters too:
- Running Tor alongside ordinary internet peers does not hide the public IP from this leak Cyber Security News. GBHackers says rebroadcasts can still reach clearnet peers GBHackers.
- A Tor-only setup avoids exposing the clearnet IP through rebroadcast, but the address can still be linked to the node’s Tor identity Cyber Security News. GBHackers says the same for Tor or I2P, where an observer may still associate an address with the onion or I2P identity GBHackers.
- Keeping private keys off the node does not remove the signal if a watch-only wallet still rebroadcasts GBHackers.
- Bitcoin Core’s -privatebroadcast option protects the initial announcement, but GBHackers reports that periodic wallet rebroadcast does not follow the same private path GBHackers.
What to do now
- Check whether your node, or any software you use, loads a Bitcoin Core wallet, including a watch-only wallet Cyber Security News.
- If address privacy matters for that node, consider setting -walletbroadcast=0 to stop wallet-initiated rebroadcasting Cyber Security News, GBHackers.
- If you set it, broadcast your own outgoing transactions separately, for example with sendrawtransaction, because the setting also stops the automatic first announcement of outgoing payments GBHackers.
- Do not assume Tor alongside clearnet peers protects you. Restricting the node to Tor or I2P avoids exposing the clearnet IP through this behavior, but not the link to the onion or I2P identity GBHackers.
- Follow the upstream discussion. Bitcoin Core pull request #36482 proposes limiting rebroadcast to transactions newly added to the mempool, but contributors note it would not close every path. Making rebroadcast of incoming payments opt-in is also under consideration GBHackers. A released fix is not confirmed.