Crypto exploits

RWAVault exploit analysis

RWAVault's ERC-4626 withdraw() override skipped the allowance check required whenever the caller isn't the position owner, letting an attacker redeem eight depositors' balances to itself in one transaction and tip a block builder directly with part of the proceeds. DeFiHackLabs reports 398,655.47 USDC taken.

David

Security ·

Reported loss
398,655.47 USDC vault outflow, per DeFiHackLabs; the eight individually requested withdrawals in the proof of concept sum to about 392,764 USDC, a gap neither source explains
Occurred
Logged
Chain
Ethereum

Logged as “2026-04-28: Missing Erc4626 Allowance Check on RWAVault”.

Analysis2 min read

RWAVault was a verified ERC-4626 vault contract on Ethereum, confirmed under that exact name on Etherscan at 0x317aA10528Ff675eF4c358eA6a5B7B5494325733, with individual vault instances run through an entry contract at 0xB9C7C84A1Aa0dD40b5B38Aae815AD0CDD2E5F88a. The ERC-4626 standard's withdraw(uint256 assets, address receiver, address owner) function is meant to let a caller redeem assets on behalf of a different owner only after spending an allowance that owner granted, the same share-based permission check transferFrom relies on for ordinary ERC-20 transfers. DeFiHackLabs's proof of concept attributes RWAVault's break to exactly that step being missing from its override: the function paid out to whatever receiver the caller named, debited from whatever owner the caller named, without ever checking that the caller held any allowance from that owner at all.

That is a narrow bug with a wide blast radius, because it turns withdraw() into a function any address can call against any depositor. The attacker, 0x7137804200a073f616D92E87007f1f100100B56A, used it against eight depositor positions in a single transaction, through a helper contract at 0x50C140C2f705Fa9d0bD0F4F253bacF4087588d17:

  1. Called vault.withdraw() once per victim, naming its own helper contract as receiver and each victim in turn as owner, for amounts of 100, 1,200, 270,000, 3,136, 6,380, 9,900, 2,048 and 100,000 USDC. One address, 0xC15D1F621480DD6b298A1AFF41E63b67E32ED51b, is named twice in the proof of concept's victim list, for two of the eight calls.
  2. Swapped 5,000 of the stolen USDC for about 2.196 ETH on Uniswap V2 and sent the ETH straight to Titan Builder's address, 0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97, a direct payment to the block builder rather than a public-mempool transaction, the standard way to get a profitable transaction included without broadcasting it for anyone to front-run.
  3. Forwarded the remaining USDC, about 387,764 of it, to its own externally owned account.

Etherscan's record of the attack transaction, at block 24,979,316 on April 28, 2026 at 15:00:11 UTC, confirms the builder payment and its contemporaneous dollar values: roughly $4,998.01 of USDC swapped for roughly $4,898.19 of ETH, and a transaction fee of about $1.69. The eight individually requested withdrawals sum to about 392,764 USDC; DeFiHackLabs's reported total of 398,655.47 USDC is somewhat higher, a gap the proof of concept does not explain and that may reflect additional share-price accrual on the vault between the fork block and the real attack, or a rounding difference in how the total was tallied. Both figures are given here rather than reconciled, since neither source resolves the difference.

No independent write-up of this incident could be located, and no statement from any team identifiable as RWAVault's operator was found; "RWAVault" reads as a generic name for a tokenized-real-world-asset vault product rather than a widely marketed one, which is consistent with the absence of press or security-firm coverage. Nothing in the site's other exploit analyses shares this specific failure closely enough to draw a real comparison: the nearest entries by theme, Unverified_a152's allowance-target drain and EtherFiAtomicQueue's missing solver access control, both lose funds through a missing authorization check but on different surfaces, a swap-approval target and a withdrawal queue solver rather than an ERC-4626 owner argument, so no cross-link is made.

What would have prevented it is restoring the standard ERC-4626 behavior RWAVault's override discarded: calling _spendAllowance(owner, msg.sender, shares), or an equivalent explicit allowance check, before any withdraw() call where the caller is not the owner of the position being redeemed.

Sources read (4)

Other exploits

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.