Skip to the article

Crypto markets, protocols and policy

Aave V3.8 adds reentrancy guard across 15 markets

Aave Labs’ V3.8 upgrade is live across 15 Aave V3 markets, adding an EIP-1153 reentrancy guard that protects Pool accounting during callbacks with little gas overhead.

The CryptoWeek Editors3 min read

Aave V3.8 adds reentrancy guard across 15 markets

Before Wednesday, Aave V3.8 was still moving through governance. Aave Labs’ security upgrade is now live across 15 Aave V3 markets, adding a reentrancy guard intended to protect Pool accounting when transactions call back into the protocol.

Aave announced the deployment on Nov. 11 after Aave DAO approval, according to Bankless’s report on the launch. The release was developed by Aave Labs. Aave’s governance proposal describes it as a measured security upgrade, with the guard applied to Pool operations during external callbacks.

How does the new guard work?

The guard uses transient storage, specified in EIP-1153, to track reentrancy during a transaction. Aave Labs says it is designed to preserve Pool accounting consistency when a transaction’s execution flow interacts with the Pool more than once.

That temporary storage lasts for the transaction rather than being written to persistent contract storage. The proposal says this allows the guard to be applied with little gas overhead, addressing the cost concern that had historically weighed against this type of protection. Aave Labs characterises the risk being addressed as theoretical; the proposal does not identify a specific exploit as the trigger for the change.

The upgrade covers active Aave V3 instances, according to Aave Labs’ V3.8 governance proposal. Its rollout plan names Ethereum Core and Lido, as well as markets on Plasma, Avalanche, BNB, Monad, Base, Arbitrum, Mantle, X Layer, Polygon, Linea, Optimism, Gnosis, MegaETH and Celo. Instances where all assets are frozen and caps are being set to zero are excluded.

What changes for flash-loan integrations?

Aave Labs says flash loans can still be combined atomically with other Pool actions, including a liquidation called from a flash-loan callback. The guard checks the reentrancy state in flashLoan() and flashLoanSimple(), but those functions do not set the lock.

The restriction runs in the other direction: a flash loan cannot be initiated from inside a Pool action already in progress. Aave Labs said existing integrations that combine flash loans with other Pool actions are expected to continue operating as before. The distinction matters for contracts that compose multiple Pool calls within one transaction.

What comes next for V3.8?

The proposal moved from community feedback to an onchain Aave vote before deployment. Bankless reported that governance approved the release without opposing votes. Aave Labs’ proposal also says further security reviews are planned and that additional defense-in-depth changes may be proposed in future upgrades.

The rollout announcement confirms V3.8 is live across the 15 markets, while the proposal sets out which active instances are in scope and how the guard behaves. The next signal to watch is whether Aave Labs proposes further security changes or reports follow-up on the deployment.

References