Polkadot flaw: the fix left in the drawer
In short: between 24 and 26 October 2026, an attacker exploited a flaw in the XCM executor of Asset Hub, the Polkadot chain that handles tokens. They artificially lowered the recorded supply of dotUSD, the network's stablecoin, which distorted the price of the DOT/dotUSD pool in which the Polkadot Treasury was the only liquidity provider. Parity's estimated loss: $1.381 million, reduced to about $1.1 million after $280,000 was recovered. According to Parity, no user balance was affected: if you simply hold DOT or dotUSD, you have nothing to do. The most embarrassing part lies elsewhere: the flaw had been reported and fixed in the code in June, but the fix had not reached the network.
Updated on 25 November 2026. This article is not financial advice.
What happened?
Polkadot is not a single blockchain but a set of chains that exchange messages. Since the November 2025 migration, most balances, tokens and staking live on Asset Hub (also called Polkadot Hub). The chains, and the bridges to other networks such as Ethereum, talk to each other in a common language: XCM (Cross-Consensus Messaging). An XCM message is a small program: "withdraw this asset from this account, transfer it, deposit it there". The XCM executor is the piece of code that reads and applies these programs.
On 2 November 2026, Bastian Köcher, of Parity Technologies, the company that develops Polkadot's core software, published an incident report on the official forum (Köcher, 2026a). The timeline, cross-checked with the first notice of 26 October (Köcher, 2026b) and the public referendums (Polkadot OpenGov, 2026a, 2026b), is as follows:
| Date | Event |
|---|---|
| June 2026 | A researcher reports the flaw through Parity's bug bounty programme. Assessed severity: "medium". |
| 25 June 2026 | The fix (PR #11910 in the polkadot-sdk repository) is merged into the source code (Catangiu, 2026). |
| June-October | The fix misses the cut-off for the June stable release (stable-2606) and does not make it into the production runtimes. It will be picked up in the next release (stable-2609). |
| 20 October | The researcher posts a public forum comment referring to PR #11910. Parity sees this as a breach of the programme rules; the post is removed a few hours later. |
| 24 October | Partners report suspicious activity. Parity reproduces the problem within hours. Snowfork stops the Snowbridge relayers, which blocks the attack. Upgrade 2.5.1 is put to the vote (referendum 1960). |
| 26 October | The attacker resumes with their own relayer, about six hours before the upgrade is applied. Once it is in place, Parity withdraws the remaining liquidity from the pool. |
| 26 October (evening) | First public notice: about 4.06 million dotUSD were wrongly removed from the recorded supply; estimated loss of $1.3 million for the Treasury. |
| 30 October | Upgrade 2.5.2 (referendum 1961) recalculates the dotUSD supply from actual balances, without touching individual balances. The recovered dotUSD is returned to the Treasury. |
| 9 November | Parity reports about $280,000 recovered: the estimated loss drops to $1.1 million. |
How the flaw worked
You do not need to be a developer to understand the principle. Every token on Asset Hub has two kinds of figures: the balances of each account, and a recorded total supply, the official total in circulation. Normally, the two stay consistent.
When an XCM program failed halfway through, the system did reverse the account debits, but forgot to reverse the drop in the total supply of dotUSD it had already recorded. By repeating the operation, the attacker made the recorded supply shrink without anyone losing a cent from their account (Köcher, 2026a).
Why is this exploitable? Because the DOT/dotUSD swap pool on Asset Hub priced trades using the smaller of two figures: the pool's actual balance or the recorded supply. Once the recorded supply fell below the pool's balance, dotUSD looked scarcer than it was. It was therefore overvalued: it could be swapped for far more DOT than it was worth. Arbitrage bots exploited the gap, drawing on the liquidity provided by the Treasury (Köcher, 2026a; Rencurel, 2026).
One detail matters: according to Parity's report, the "medium" severity assigned in June did not take into account interactions with dotUSD, which had not yet been launched. The stablecoin was put to an OpenGov vote in September 2026 (see our article on dotUSD). A flaw judged harmless in spring became critical when a new asset, with a swap pool, was plugged into it. Parity reclassified it as "critical" after the incident (InvestX, 2026).
Who lost what?
| Who | Impact |
|---|---|
| DOT holders | No balance affected |
| dotUSD holders | No balance affected; the 1:1 peg with USDT was maintained by the Peg Stability Module (Rencurel, 2026) |
| The Polkadot Treasury | Sole liquidity provider of the pool: estimated loss of $1.381M, then $1.1M after recovery |
| Arbitrageurs | Gains on the price gap; part of it ($280,000) was returned by bot operators who alerted Parity themselves |
The Treasury is the network's common fund, funded according to the protocol's rules (notably by a share of newly issued DOT). It pays for development, events and marketing, as decided by DOT holders through on-chain governance, OpenGov. Its money belongs to no one in particular but, indirectly, to all holders: a DOT spent or lost by the Treasury is one DOT less to fund the ecosystem.
The report does not say who the attacker is, nor the exact amount captured in DOT. According to Cryptoast, the on-chain data does not establish that the author of the XCM manipulation is also the one who profited from the arbitrage: they may be different people (Rencurel, 2026). An anonymous analysis published as early as 27 October, relayed on the forum, puts forward more detailed figures and questions about the role of certain actors. No official source confirms them to date: we do not repeat them.
Fixed in June, exploited in October: why?
This is the heart of the matter. The code had been fixed since 25 June 2026. It took four months and an attack for it to reach the network.
To understand, two steps must be distinguished:
- Fixing the source code. Parity and contributors work on the
polkadot-sdkrepository. The fix was merged there in June (Catangiu, 2026). - Upgrading the network. What runs on Polkadot is not the repository but a runtime, the chain's logic, compiled from a stable release of the SDK. Polkadot's runtimes are maintained by the Technical Fellowship, a collective of experts, and every upgrade goes through an OpenGov vote.
The fix missed the stable-2606 cut. It therefore waited for the next release, stable-2609, and was not yet in the Asset Hub runtime at the end of October (Köcher, 2026a). Nobody noticed that a security fix, even one rated medium, was sitting in the waiting room while dotUSD was being launched right next to it.
The second factor is the 20 October leak: a public comment citing PR #11910 may have given attackers enough clues to find the flaw in the code, which is open source. The attack began four days later. This is the classic dilemma of free software: a fix published in a public repository is readable by everyone, including those looking for systems that have not yet been updated.
A bad streak that goes beyond Polkadot
The case is not isolated. In a few weeks, we have covered several cases where the problem was not the lack of a fix, but the delay between the fix and the field:
- BTCPay Server: the November 2026 thefts hit servers left on old versions, although fixes existed (see Lightning, BTCPay: is your bitcoin safe?).
- Fearless Wallet: compromised versions of an extension stayed in circulation for months after the facts (see Fearless Wallet: are your DOT at risk?).
The difference with Polkadot: here, it was not a user who forgot an update, it was the network itself. And a blockchain is not upgraded with one click: the runtime has to be prepared, tested, put to the vote, and the decision awaited.
Polkadot does have a fast lane, which was used here: the Whitelisted Caller track. The Technical Fellowship "whitelists" an urgent upgrade, which can then be adopted with shortened delays. Both referendums of the incident went through it, with 100% of votes in favour (Polkadot OpenGov, 2026a, 2026b). The mechanism worked after the attack was discovered; it was of no use before, because nobody had classified the fix as urgent.
What Parity promises
The report announces three areas, without a precise deadline (Köcher, 2026a):
- Detection: test XCM program failures more systematically, and analyse code proposals with an AI agent-based tool;
- Speed: simplify releases and fix backports, and check that every security fix actually reaches the deployed runtimes;
- Monitoring: detect abnormal changes in an asset's issuance, and improve incident procedures.
Parity also says it is re-examining past security reports, taking a fresh look at their severity.
These commitments point in the right direction. They remain promises: the next incident will tell whether they have been kept.
And for you, in Belgium?
If you hold DOT (on a platform, in a wallet or staked): nothing to do. According to Parity, no balance was changed, and upgrade 2.5.2 did not touch any individual holding. The guide to staking your DOT remains valid.
If you hold dotUSD: your balances are intact and the peg held. Bear in mind that dotUSD is not issued by an authorised issuer in Europe, unlike EURC or USDC: no European body guarantees its redemption. Our article on stablecoins under MiCA explains the difference with a regulated stablecoin.
If you provide liquidity in DeFi (Asset Hub swap pools, Hydration…): this incident shows the risk specific to pools. A pricing defect can drain a pool without the blockchain itself being "hacked". Here, the Treasury paid; tomorrow, it could be you. If you had a liquidity position on an affected pool, follow the official announcements of the protocol concerned rather than this summary.
Beware of fake rescuers: after every incident, messages offer to "check" or "protect" your funds. Parity said it clearly: no action is required. No serious party will ask for your recovery phrase.
On the regulatory side, the situation is unusual. MiCA targets identifiable issuers and service providers; a service provided in a fully decentralised manner falls outside it in principle (recital 22 of the regulation). The Polkadot network itself is therefore not an authorised provider that could be reported to the FSMA. Things change if you go through a platform: it remains responsible to you under its terms and, if it is authorised, under MiCA. For the protocol, oversight lies first with the community, through OpenGov.
True or false?
"Polkadot got hacked." Needs nuance. People readily speak of a hack, but this was neither a key theft nor an intrusion: the network applied its rules, and one of those rules (the XCM executor code) had a defect, exploited by an attacker. No user account was drained.
"Users lost their dotUSD." False. Balances never moved; only the recorded total supply was wrong, and it was recalculated on 30 October.
"The flaw was unknown." False. It had been reported in June and fixed in the code on 25 June 2026. Deployment is what failed.
"The Snowbridge bridge is to blame." False. The messages went through it, but Parity reproduced the flaw without the bridge.
"The Treasury will be fully reimbursed." Unverifiable to date. $280,000 had been recovered by 9 November; Parity says it is continuing its efforts, without promising full reimbursement.
Test yourself
Disclaimer
This article is a news analysis, not financial or tax advice. The figures come from Parity's report and dated public sources; they may change if more funds are recovered. Crypto-assets are volatile and risky: only invest what you can afford to lose, and always check information at the source.
Sources
- Catangiu, A. (2026). XCM hardening - fix some regressions (Pull request no. 11910). GitHub, paritytech/polkadot-sdk. https://github.com/paritytech/polkadot-sdk/pull/11910
- InvestX. (2026, 4 November). Faille XCM : le Trésor de Polkadot perd environ 1,381 million $ [XCM flaw: the Polkadot Treasury loses about $1.381 million]. InvestX. https://investx.fr/actu-crypto/polkadot-faille-xcm-tresor-perte/
- Köcher, B. (2026a, 2 November). XCM incident review: What happened and what we learned (updated 9 November). Polkadot Forum. https://forum.polkadot.network/t/xcm-incident-review-what-happened-and-what-we-learned/19207
- Köcher, B. (2026b, 26 October). XCM issue affecting Asset Hub. Polkadot Forum. https://forum.polkadot.network/t/xcm-issue-affecting-asset-hub/19126
- Polkadot OpenGov. (2026a). Runtime Upgrade 2.5.1 (referendum no. 1960). Subsquare. https://polkadot.subsquare.io/referenda/1960
- Polkadot OpenGov. (2026b). Fix dotUSD supply on Asset Hub and unblock Snowbridge (referendum no. 1961). Subsquare. https://polkadot.subsquare.io/referenda/1961
- Rencurel, R. (2026, 5 November). Polkadot : un bug fait perdre près d'1,4 million de dollars à la trésorerie du projet [Polkadot: a bug costs the project's treasury nearly $1.4 million]. Cryptoast. https://cryptoast.fr/polkadot-bug-xcm-dotusd-tresorerie-perd-1-4-million-dollars/