Bitcoin Core wallet can expose your IP for 20 cents

A rebroadcast attack on Bitcoin Core links an address to a node’s IP for $0.18–$0.34. Who is affected and how to shut off the leak.

A tiny glowing coin drops onto a glass wallet, with a thin thread running from it to a small house on a dark map
Illustration: INCEPTION
3 min read

A bitcoin address can be linked to the IP address of its owner’s node for about twenty cents. Bitcoin Core developer Abubakar Sadiq Ismail described the attack. An IP address points to an internet provider, and therefore potentially to the place where a person lives. The attack requires the victim’s address and one tiny payment.

How the attack works

The attacker sends a small amount to the victim’s known address with the minimum fee. Such a transaction sits unconfirmed for a long time because it is unprofitable for miners. After 12–36 hours, the Bitcoin Core wallet rebroadcasts the stuck payment on its own, reminding the network about the transaction so it doesn’t get lost.

That is where the leak happens. The attacker keeps a fresh connection to the network and watches which node is the first to announce this transaction to them. That is the victim’s node. The payment became bait, and the wallet gave itself away.

What it costs and how reliable it is

One attempt costs $0.18–$0.34 at a rate of about $59,000 per BTC as of November 25, 2026. There is a small discrepancy within the write-up itself: the text gives a range of $0.18–$0.33, while the table shows $0.34 for P2PKH addresses.

On the regtest lab network, the attack worked 30 times out of 30. It has not been tested on the main Bitcoin network, so its real-world effectiveness there remains to be determined. Still, a price of a few dozen cents makes scaling cheap: all an attacker needs is to know the addresses.

What’s new here

The leak during rebroadcast has been known for a long time. What’s new is that a planted payment turns a passive quirk into an active attack on a chosen address. Previously, linking a transaction to an IP was only possible probabilistically. According to developer 0xb10c’s observations, an entity called LinkingLion has been listening to transaction announcements since 2018. The new method gives a controllable result: the attacker picks the target and starts the process.

The payment became bait, and the wallet gave itself away

Who is affected

Any software that loads addresses into a Bitcoin Core wallet is vulnerable, including in watch-only mode. The list includes Bitcoin Core and Knots, Sparrow in Bitcoin Core mode, Specter, Liana, JoinMarket and Electrum Personal Server.

Tor provides only partial protection. If a node has regular connections as well, the rebroadcast goes out over them too, and the IP is revealed. Private transaction submission doesn’t help either when a payment is stuck for 12–36 hours: the wallet does the rebroadcasting, not the original submission.

What you can do right now

The fix, proposed as bitcoin#36482, has not been released yet. Until it is, there are two workarounds:

First, turn off automatic broadcasting with the -walletbroadcast=0 parameter and send transactions manually with the sendrawtransaction command. This is less convenient, because you have to push every transaction to the network yourself.

Second, run the node with the -onlynet=onion option. The node then works only through Tor, and the leak of the regular IP disappears.

What this means for you

The people most at risk are those whose address is known to outsiders, such as a donation or payment address published on a website or in a profile. If you run your own node with a Core wallet or one of the setups listed above, check whether the node has regular connections besides Tor, and decide whether you need automatic rebroadcasting. Keep an eye on the fate of bitcoin#36482 and on whether the attack is confirmed on the main network: so far it has been tested only in the lab. If it is confirmed, node-level privacy will have to be built as carefully as privacy at the level of the addresses themselves.

Sources

This article is for information only and is not investment advice.

Read also
↑