Vault4626's totalAssets() converted idle donated WETH into USDC-equivalent value for pricing shares, while redeem() separately paid out the real WETH balance too, double-counting the same donation. DeFiHackLabs reports a loss of 13.53 WETH, matching Basescan's record of the attack transaction.
Security ·
Logged as “2026-06-29: Business Logic Flaw on Vault4626”.
Vault4626, verified under that name on Basescan at 0xD08579102fc28355C5839019b730Ce58F84E6a4d and run through a proxy at 0x72dbAA8A09d71D09c6De0de439968e1E7c122020, managed a Uniswap V3 liquidity position for a WETH-paired strategy on Base. Its transaction history shows the ordinary activity of that kind of vault: deposits, redemptions, fee collection and compounding. The bug sat in how its two core functions disagreed about what the vault actually owned.
totalAssets() priced the vault's holdings by converting any WETH sitting idle in the contract into its USDC-equivalent value and adding that into the total used to work out each share's redemption price. redeem(), when a holder cashed out, paid the resulting amount in the vault's actual present mix of USDC and whatever WETH balance it happened to be holding, rather than strictly in USDC. The two functions were counting the same WETH twice: once as value folded into the USDC-denominated share price, and again as the literal token transferred out.
The attacker, 0xA27eAE743Cd8C03E9b7c25ebF43DADbBC6Df9bFA, built the gap between those two functions into a profit in a single transaction through an attack contract at 0x47e775b8f175034b22fbA3A0F5B9E0F02551Af3C:
totalAssets().totalAssets() immediately converted into USDC value and added to the total backing every outstanding share, including the shares from step one.totalAssets() had just risen, the shares were now worth more in USDC terms than when they were minted, and redeem() paid that inflated USDC amount while also handing over a share of the vault's real WETH balance, the same WETH just donated.Basescan's record of the attack transaction, at block 47,958,575 on June 29, 2026 at 04:14:57 UTC, confirms the two flash loans at the center of the sequence by source rather than a single pool: 1,755,018.73 USDC (shown by Basescan as $1,754,499.25) came from Morpho, and 12.92 WETH (shown as $28,918.45) came from the Balancer Vault, two separate protocols rather than one. The attacker's net profit, over 13 WETH, matches DeFiHackLabs's reported loss of 13.53 WETH, and the vault's own totalAssets() fell as a result, confirming the loss came out of the vault's real backing rather than only its accounting.
Basescan's current page for the vault proxy shows it pointing to a different implementation address than the one this proof of concept targets, consistent with the vault having been upgraded since the exploit; whether that newer implementation corrects the specific totalAssets()/redeem() mismatch is not established. No public statement, audit note, or press coverage naming Vault4626 or its operator has been published; Basescan's activity history and the verified contract are the only trace of the project found.
The same underlying weakness, an ERC-4626 vault's share price moved by a bare donation that a priced function reads uncritically, also drove the site's edel-xstock incident two days later, where a donation into a near-empty wrapper vault manipulated a lending oracle's collateral read rather than a vault's own redemption price. Different consumer of the inflated rate, same root cause: a donation the vault could not distinguish from a deposit.
What would have prevented it is either half of the mismatch being fixed on its own: a totalAssets() that only counts the vault's designated deposit asset, or a redeem() that pays strictly in that asset rather than whatever mix the vault happens to be holding when the call runs.
Query every incident yourself — free, no signup
Updated 8 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.