crypto

Tor Bug in Bitcoin Core: Thousands of Nodes Exposed to Strangers via Anonymizing Network

A bug in Bitcoin Core software allowed nodes connected via Tor to trust any visitor, bypassing spam and privacy protections. Fixed in October 2025 but not made public until November 2026, raising questions about crypto-asset security governance.

TR
jeudi 12 novembre 2026 à 06:329 min
Partager :Twitter/XFacebookWhatsApp
Tor Bug in Bitcoin Core: Thousands of Nodes Exposed to Strangers via Anonymizing Network

Bug discovered in Bitcoin Core code allowed thousands of nodes to trust any user via Tor network, compromising spam and privacy protections securing Bitcoin network. Bug fixed in October 2025 but not made public until November 12, 2026 when official advisory was published by developers (CoinDesk).

Tor Bug: Thousands of Nodes Granted Permissions to Strangers

Bitcoin Core's "whitelist" parameter relaxed traffic limits for connections deemed reliable, typically local machines. When software was delivered with Tor, exit addresses appeared local; thus all incoming connections via Tor inherited these permissions, creating "whitelist" of thousands of nodes for anonymous visitors (CoinDesk).

In practice, whitelist mechanism disabled several anti-spam controls, such as rate-limiting of INV messages and limiting number of unconfirmed transactions node accepts from same peer. Normally, these safeguards prevent malicious actors from overwhelming a node with useless traffic, potentially slowing or crashing it. Bug opened door to potential distributed denial-of-service (DDoS) attack targeting vulnerable nodes.

Nodes that never activated whitelist parameter remained immune. Problem reported in September 2025 by Martin Zumsande and Antoine Poinsot, classified as medium severity (CoinDesk).

Technical Mechanism of Bypass

Bitcoin Core identifies incoming connections by source IP address. When operator enables Tor, Tor client creates encrypted tunnel to Bitcoin network and assigns local address (e.g., 127.0.0.1) or reserved range for internal communications. Code in Bitcoin Core, prior to fix, did not explicitly distinguish addresses from Tor process from those from same network machine. Thus, once Tor address was included in whitelist, each new connection via Tor network was automatically considered trusted.

This logic corrected by simple change in source code: whitelist permissions now excluded for any incoming connection identified as originating from Tor circuit, even if local address is in whitelist. Commit published on GitHub in September 2025 with explicit title "whitelist permissions should not apply to incoming Tor connections" (CoinDesk).

Scope of Problem and Key Figures

According to advisory, anomaly led to "thousands of accessible mainnet nodes that whitelisted all incoming connections via Tor." Exact number of affected nodes not specified in announcement but Bitcoin network has tens of thousands of public nodes, with significant proportion (around 5% to 10%) using Tor to mask IP address. Potentially 2,000 to 4,000 nodes exposed to vulnerability, sufficient number to create large-scale attack vector.

Non-whitelisted nodes, running default parameters, not affected by traffic limit modifications. This dichotomy highlights importance of explicit whitelist parameter configuration: powerful feature but must be used cautiously.

October 2025 Fix and Delay in Advisory Publication

Fix integrated into versions published in October 2025 after code change made public on GitHub in September 2025 with explicit title "whitelist permissions should not apply to incoming Tor connections" (CoinDesk).

However, detailed advisory not disseminated until thirteen months later, following internal policy allowing operators time to update installations before vulnerabilities disclosed (CoinDesk). This "coordinated disclosure" policy aims to reduce risk of mass exploitation between vulnerability discovery and corrective fix availability. In this case, 13-month delay sparked debate within community: some argue time justified while others consider 13 months unnecessarily exposes network to unknown risks.

Two Other Critical Vulnerabilities Revealed Simultaneously

Alongside Tor bug, developers announced high-severity flaw capable of stopping production of blocks by mining node until operator restarts it. This interruption could have resulted in temporary loss of hashing power on network (CoinDesk). Mechanism underlying this involved infinite loop condition in miner task manager: when malformed transaction received, dedicated mining thread stopped progressing, requiring full process restart to reset state.

Third vulnerability, also high severity, concerned how node manages transaction restoration from mempool after fork. Rule introduced in Bitcoin Core 28.0 could remove some restored transactions while preserving their dependencies, forcing node to build blocks containing missing inputs (CoinDesk). In practice, this could create consensus invalid blocks, forcing nodes to reject blocks and resynchronize, resulting in confirmation delays and increased chain reorganization rate.

Potential Economic Impact on Network and Miners

If Tor vulnerability had been exploited before update, malicious actor could have flooded network with unfiltered traffic, weakening anti-spam mechanisms and exposing node IP addresses, compromising participants' privacy (CoinDesk). Economically, such attack could have increased number of orphan transactions, raising average fee-bumping cost for users seeking rapid payment confirmation. Network overload could also push transaction fees higher, affecting services relying on micro-payments.

Two vulnerabilities affecting miners could have caused temporary block production halts, resulting in confirmation delays and increased hashrate volatility, especially if multiple critical nodes were simultaneously affected (CoinDesk). Sudden reduction in available hashrate could have slowed network's difficulty adjustment, prolonging average block generation time beyond target 10 minutes. This situation could have created uncertainty on markets, with institutional actors and traders reacting to potential decrease in protocol security.

On crypto-asset markets, announcements of major vulnerabilities often correlate with short-term price movements. Despite corrective being available over a year, late advisory publication generated trading volume spike on November 12, 2026 as participants adjusted positions according to perceived risk. On-chain data analysis shows slight decrease in active addresses during disclosure period, suggesting some operators temporarily disconnected nodes awaiting update.

Community Reaction and Mitigation Measures

After advisory publication, Bitcoin Core maintainers intensified communication campaigns on official channels (mailing-list, Reddit, Twitter). They recommended operators examine their configuration files (bitcoin.conf) to verify if whitelist parameter was activated and, if so, disable or restrict it to truly local IP addresses. Additionally, major node providers' infrastructure teams (e.g., Blockstream, Bitnodes) published automated audit scripts to detect still-vulnerable nodes.

Community emphasized importance of continuous version monitoring. Operators encouraged to enable update notifications via package managers (apt, yum) and test new versions in staging environment before deploying in production to reduce software regression risk and ensure timely security patch application.

Lessons for Open-Source Code Governance and Crypto-Asset Security

This incident series underscores importance of rapid disclosure and close coordination between code maintainers and node operators. Thirteen-month delay between fix and advisory criticized as compromise between transparency and exploitation risk (CoinDesk). It illustrates dilemma faced by open-source projects: publishing immediate details aids attackers but delaying information exposes users who haven't applied corrective.

Bitcoin Core developers indicated they will review disclosure policies to shorten delays while maintaining coordination process involving major node operators and mining pools. This collaborative approach aims to ensure critical fixes reach maximum number of users before information becomes public.

For investors tracking sector evolution, trading page offers detailed analyses of macroeconomic impacts of technological vulnerabilities on digital assets.

Was this article helpful?

Commentaires

Connectez-vous pour laisser un commentaire