SECURITY

Polkadot says a missed fix cost its Treasury $1.38M

Parity says an XCM bug fixed in code in June never reached the affected production runtime. In October, dotUSD's recorded supply fell while balances stayed put, and a pool mispriced trades.

Polkadot says a missed fix cost its Treasury $1.38M. Official Polkadot mark above a conceptual ledger showing a supply mismatch.
AI-generated conceptual editorial artwork with Polkadot's official mark from polkadot.com. The ledger is an illustration, not incident evidence.

A security fix can exist in a code repository without protecting the network people actually use. Parity says that is what happened on Polkadot Asset Hub: a flaw reported and fixed in June missed the affected production runtime. In October, an attacker used it to make the system record less dotUSD in circulation than users actually held.

That bad total reached a trading pool. Parity estimates about $1.381 million in DOT value was lost through the resulting mispricing. It says the Polkadot Treasury was the pool’s only liquidity provider and no user funds were lost. The estimate and the no-user-loss statement are Parity’s findings, not an independent loss audit.

How a number became a price

Think of dotUSD balances as the amounts written beside each account, and recorded supply as the total the system says exists. Those should agree. In the incident review, Parity says a crafted cross-chain message made a withdrawal fail. The individual balance changes were reversed, but the change to the recorded supply was not. Repeating that sequence made supply appear smaller without taking dotUSD out of accounts.

The DOT/dotUSD pool read the lesser of its actual dotUSD balance and that recorded supply as the amount available for trades. When recorded supply fell below the pool’s real balance, the pool priced dotUSD as if it were scarcer than it was. Traders could then exchange dotUSD for too much DOT at the artificial rate. Parity says dotUSD remained backed and its separate USDT conversion mechanism still operated at a one-to-one ratio.

An independent code reconstruction by Zealynx identifies the missed rollback in an accounting object that was discarded outside the transaction boundary. It also traces the pool’s use of recorded supply as a reserve cap. The writer cites a regression test and an on-chain state with roughly 4.21 million dotUSD in account balances against about 154,000 recorded as supply. That is evidence of the accounting gap, not a separate calculation of Parity’s dollar-loss figure.

The patch was ready, but not live

Parity says the original researcher reported the bug in June and a fix was merged then. It was rated medium at the time, before dotUSD and its pool existed, and missed a stable runtime release cutoff. When dotUSD launched, the consequence changed, but the old assessment and release path did not catch up.

An exploit-blocking runtime upgrade took effect on October 26. A second upgrade on October 30 restored recorded dotUSD supply from account balances, according to Parity. The messages arrived via Snowbridge, but Parity says the underlying bug was in the XCM executor and could be reproduced without the bridge. It also says the person who triggered the bug may not be the person who profited from later arbitrage.

For DOT holders, the immediate exposure in Parity’s account was a Treasury loss, not an open instruction to withdraw or migrate. The bigger question is whether other production runtimes have fixes that exist in code but have not shipped, and whether new products have made an older vulnerability more dangerous. Parity says it is tightening severity reviews, backport checks and issuance monitoring. Those process changes still need to be judged by what reaches production.

Sources and reporting limits

Checked November 3, 2026. Parity’s November 2 postmortem supplies the timeline, loss estimate, liquidity-provider identity, remediation and user-impact statement. Zealynx’s November 3 technical reconstruction independently reads the code and regression test. We did not independently audit the DOT-value loss or measure current pool liquidity. The incident may receive later corrections.