Skip to content
Audit finding Advanced

Withdrawals ongoing for OETH, apxETH, weETH, and almost any LST are overpriced by the oracle

When a user starts a withdrawal of a liquid staking token such as OETH, the token is burned and stops earning yield, but the protocol's oracle keeps valuing the pending withdrawal at the yield token's price. This overpricing lets a user borrow more against the collateral than its true value supports.

0xpiken Follow with mstpr-brainbot and xiaoming90

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2025-06-notional-exponent-judging/issues/322

This issue has been acknowledged by the team but won't be fixed at this time.

Found by

0xpiken, mstpr-brainbot, xiaoming90

Summary

When users initiate a withdrawal, if the yield token has a specific withdrawal method, the withdrawal will be initialized and for LSTs, this means unstaking from the beacon chain, which can take hours, days, or even weeks.

While the withdrawal is not finalized, the price of the token is assumed to be the same as the yield token for example, the OETH amount held in the Withdraw Request Manager contract. However, once the withdrawal is initialized on the beacon chain, LSTs stop earning yield. Therefore, the oracle will always overprice the token.

Root Cause

As we can see, when initiateWithdraw is called for an LST (e.g., OETH), the OETH will be taken from the yield strategy and sent to the Withdraw Request Manager to initialize the withdrawal process from the beacon chain: https://github.com/sherlock-audit/2025-06-notional-exponent/blob/82c87105f6b32bb362d7523356f235b5b07509f9/notional-v4/src/staking/AbstractStakingStrategy.sol#L64-L74 https://github.com/sherlock-audit/2025-06-notional-exponent/blob/82c87105f6b32bb362d7523356f235b5b07509f9/notional-v4/src/withdraws/AbstractWithdrawRequestManager.sol#L97-L120 https://github.com/sherlock-audit/2025-06-notional-exponent/blob/82c87105f6b32bb362d7523356f235b5b07509f9/notional-v4/src/withdraws/Origin.sol#L12-L19

So the OETH withdrawal from the beacon chain is started. OETH is burned and is now waiting for ETH to be finalized and received from the beacon chain.

Meanwhile, since the user still has collateral on the Morpho market, they can continue borrowing. However, once the withdrawal is initiated, the pricing of the tokens becomes inaccurate: https://github.com/sherlock-audit/2025-06-notional-exponent/blob/82c87105f6b32bb362d7523356f235b5b07509f9/notional-v4/src/staking/AbstractStakingStrategy.sol#L50-L54 https://github.com/sherlock-audit/2025-06-notional-exponent/blob/82c87105f6b32bb362d7523356f235b5b07509f9/notional-v4/src/withdraws/AbstractWithdrawRequestManager.sol#L307-L340

Now, since the withdrawal is not yet finalized, the request remains unfulfilled, and the else branch will be executed:

Solidity
else {
    // Otherwise we use the yield token rate
    (tokenRate, /* */) = TRADING_MODULE.getOraclePrice(YIELD_TOKEN, asset);
    tokenDecimals = TokenUtils.getDecimals(YIELD_TOKEN);
    tokenAmount = w.yieldTokenAmount;
}

As we can see, the pricing is done using the YIELD_TOKEN, which is OETH. However, the OETH has already been burned, and since it's in the withdrawal queue on the beacon chain, it no longer earns yield!

Internal Pre-conditions

None needed

External Pre-conditions

None needed

Attack Path

  1. Initiate withdraw
  2. Collateral is overpriced borrow more without taking LST risk

Impact

Since the LST holding risk is no longer present once a withdrawal request is initiated and also due to the overpricing of it, users can borrow more from the Morpho market, even though their actual collateral is not as high as it’s assumed to be.

The opposite case can also be problematic, where the LST price decreases (e.g., due to slashing), and the collateral ends up being underpriced.

PoC

No response

Mitigation

For LST's override the getWithdrawRequestValue function

Discussion

T-Woodward

Valuation inaccuracy is negligible here.

A fix for a different issue disables borrowing directly from Morpho - that will fully neuter any threat due to this issue. Users won't be able to take advantage of a higher collateral value by borrowing directly from Morpho or borrowing through Notional because their Notional tx would revert due to an existing withdrawal request. Finally, if a user should be eligible for liquidation based on their "true" collateral value, but is not currently, anyone can call finalizeRequestManual which will switch over their valuation methodology to the true value.

The original report as published on Sherlock, by 0xpiken. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the withdrawal valuation falls back to the yield token's oracle price even after the token has been burned and is no longer accruing yield.

Impact

Users could borrow more than their real collateral supports; the team argued the inaccuracy is negligible and that a separate fix disabling direct Morpho borrowing removes the threat.

What the attacker needed

A pending LST withdrawal request; ability to borrow against the collateral

The fix

The team acknowledged the issue but declined to fix it, noting a separate change disables direct Morpho borrowing and that anyone can call finalizeRequestManual to switch to true valuation.

How it was found

  1. Initiate a withdrawal of the liquid staking token.
  2. While the request is pending, the collateral is valued at the yield token price.
  3. Borrow more against the overpriced collateral without carrying the staking risk.

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 report has not been written yet. The Original tab links to the source.

Liquid staking tokens represent staked crypto and normally earn rewards over time. When you ask to withdraw, the token is burned and you wait in a queue, during which it earns nothing. The protocol kept pricing that waiting withdrawal as if it were still the earning token, so the collateral looked worth more than it really was, and the user could borrow extra money against it.

More by 0xpiken

View all

29 more disclosed reports, best first.

More from Notional Exponent

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.