YieldBlox Exploit Post-Mortem: How a Single Trade Drained $10M
A lending pool on Stellar used a price oracle that averaged trades from a market with almost no liquidity. An attacker made a tiny trade at an inflated price, which moved the oracle's reported price by about 100 times, letting them borrow far more than their collateral was worth and drain about $10.2M.
medium.com
Published on medium.com
On February 22, 2026, a community-managed YieldBlox lending pool built on Blend V2 was drained of approximately $10.2M in USDC and XLM. The exploit did not require a smart contract bug.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The pool operator configured a VWAP oracle against a market with near-zero liquidity and no sanity checks or circuit breakers, so a single trade could dominate the price.
Impact
The attacker drained about $10.2M, of which about $3M was unrecovered and about $7.2M was frozen by Stellar validators; cascading liquidations also hit other pool participants.
What the attacker needed
Thin-liquidity USTRY/USDC market; multiple attacker accounts; no liquidity or deviation checks
The fix
The pool should use a TWAP oracle with staleness checks, enforce liquidity floors before accepting oracle updates, add circuit breakers for large price deviations, and enforce health factor checks in execution paths.
How it was found
- Wait until the USTRY/USDC market on SDEX has effectively zero activity and no meaningful depth.
- Using one account, place a sell offer for USTRY at about 501 USDC per USTRY, far above fair value.
- Using a second account, buy a tiny amount of USTRY against that offer, which moves the oracle price to about $106.70.
- Borrow against the inflated USTRY collateral, bypassing health factor checks, and withdraw the pool's borrowable reserves.
- Bridge the stolen assets across several chains and split them across many bridge transactions.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A lending pool lets people borrow assets by putting up collateral, and it uses a price feed to decide how much collateral is worth. Here the price feed took its number from a trading market where almost nobody was trading, so one small trade could set the price. The attacker used that fake high price to borrow and run off with the pool's funds.