Aave founder says V3 unaffected after third-party adapter exploit drains $305K
Aave founder Stani Kulechov said Aave v3 was unaffected after an attacker exploited a third-party adapter to drain about $305,000 from two Safe multisig wallets.
This article may contain affiliate links. Commercial relationships are disclosed in the affiliate policy.
An attacker drained roughly $305,000 from two Safe (multisig) wallets by exploiting FlashLoopAdapter, a custom module built on top of Aave v3 to manage leveraged positions. Aave v3 itself was never touched. The distinction matters: the money left through a third-party Safe module, not through Aave’s lending pools.
What actually happened
SlowMist, the blockchain security firm that flagged the incident, traced the root cause to the adapter’s access control. The vulnerable functions open() and close() did not independently verify who was calling them. They only checked whether ISafe(msg.sender).isModuleEnabled(address(this)) returned true — a question asked of the caller, and therefore answerable by the caller. An attacker deployed a fake Safe contract hardcoded to return true, passed the check, and unlocked functionality that should have been restricted to wallets that had genuinely enabled the module.
The second half of the bug is what turned an authentication flaw into theft. A _swap() function allowed a raw call to a swap router using caller-supplied swapCalldata — and both inputs were attacker-controlled. Instead of pointing the router at a legitimate AMM, the attacker set the router to one of the victim Safe wallets and set the calldata to call execTransactionFromModule, a Safe function that lets an enabled module push transactions through. Because the real victim Safe had genuinely enabled FlashLoopAdapter, that call was accepted.
Why the $305K figure is misleading on its own
The headline loss figure is not what the attacker walked away with, and reporting it without the mechanism invites the wrong conclusion.
Defimon Alerts, which detected the attack at 15:08:57 UTC on Oct. 1, reconstructed the sequence. The attacker took a Morpho WETH flash loan and used it to repay about 1,335 WETH of Aave debt belonging to the first Safe, 0xcfedf95a3653a128dfc2e4288758a1a1850d169f. Repaying the debt released the collateral backing that leveraged position. Only then could the attacker use the compromised execution path to make the Safe withdraw roughly 1,306 weETH to an address they controlled. A second Safe, 0xe3b23e47df7cd85876ac6cb05bdb9d7cd5b28520, lost a further 6.4 weETH through the same path. Both Safes shared a single owner.
Most of the capital that moved was tied to repaying debt and unwinding the leveraged loop — not profit. After the flash loan was settled and part of the withdrawn collateral converted, Defimon calculated the attacker retained roughly 114.1 ETH. SlowMist independently put the figure at about 114.09 ETH, valued at approximately $305,000 at the time of reporting. Attacker address: 0x42c2633438609881c8fBAb82414eb9A0c45F9353. Vulnerable contract: 0x16bb8b912da187870c23ec6756bb3fad061283d8.
Why Aave v3 was not the vulnerable component
No security alert identified a flaw in Aave v3. Stani Kulechov said the affected contract was a third-party external adapter built on top of Aave and had “zero effect on Aave v3.”
The structural lesson is about where trust actually sits. Safe modules can be granted permission to execute transactions from a wallet without going through the standard owner-transaction flow each time. FlashLoopAdapter relied on that capability to automate leveraged Aave positions — but the same broad permission meant that anyone who could bypass the adapter’s authentication logic could reach assets the Safe controlled. The protocol stayed up while the module connected to those wallets provided the attacker’s route.
The pattern worth watching
This is not an isolated bug. A structurally similar weakness involving permissions attached to Safe modules surfaced in September, when BlockSec traced an exploit affecting roughly 2,900 rsETH to weak authorization checks in an executor contract connected to an enabled Safe module; an MEV bot front-ran the attempt and captured the assets before the original transaction reverted.
In May, an exploit involving the SquidRouterModule drained Safes on Ethereum and Base — roughly $3 million to $3.2 million from 86 wallets — after attackers targeted a third-party Safe module, while Squid said its main router contracts and user funds were unaffected. Days later, Gnosis Pay users were urged to withdraw funds after an exploit involving its Zodiac delay module; Gnosis co-founder Martin Köppelmann said the flaw could let an attacker initiate transactions from Safes using the affected module.
What to verify
Check the adapter contract 0x16bb8b912da187870c23ec6756bb3fad061283d8 directly on an explorer. The specific question is not “was Aave exploited” but “which module did this Safe enable, and does that module verify its caller independently of the Safe it is asking.” For anyone running leveraged loops through a Safe module, the audit question is whether the module authenticates callers by asking the caller, or by asking a contract the caller controls.
Sources and editorial check time
- crypto.news: https://crypto.news/flashloopadapter-exploit-drains-305k-from-aave-linked-safe-wallets/
- Cointelegraph: https://cointelegraph.com/news/aave-v3-third-party-adapter-exploit-305k