Skip to content
Business logic Audit finding Intermediate

Users unable to claim rewards when Curve LP tokens are staked to Curve Gauge

When Curve LP tokens are staked directly to a Curve Gauge (because the Convex Booster is not initialised), the reward manager's claim function returns early because the reward pool address is zero, so users cannot claim their gauge rewards. The protocol team fixed this issue.

Bluedragon Follow with Riceee, bretzel and 2 others

Originally disclosed on Sherlock

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

Found by

Bluedragon, Riceee, bretzel, touristS, xiaoming90

Summary

According to the contest sponsors the AbstractRewardManager acts as the core logic contract for both Booster and Gauge Reward Managers. But claiming rewards for gauge branch is not implemented.

Vulnerability details

The issue here lies when the CONVEX_BOOSTER is not initialised. When a user enters a position via Notional, their assets are deposited to a curve pool and the vault receives LP tokens which are further staked for rewards in the Curve Gauge.

When we take a look at the _stakeLpTokens used to stake the LP tokens, we see they are directly staked to Curve Gauge if Booster is not initialised. But the issue is claiming rewards is only implemented for the Convex Strategy and not for this scenario when LP tokens are staked to Gauge Strategy.

Lets look at the flow of reward claim -->

  1. User calls claimRewards on the router
  2. RewardManagerMixin::claimAccountRewards is called
  3. RewardManagerMixing::_updateAccountRewards is invoked
  4. Delegate call to updateAccountRewards on AbstractRewardManager
  5. This internally calls the _claimVaultRewards

Given that the AbstractRewardManager is the underlying core contract logic for reward claim. Here we notice that the _claimVaultRewards function has a check if (rewardPool.rewardPool == address(0)) return; This causes the control flow to return the claim execution process when the rewardPool is not set, which is the case when tokens are staked to Gauge. Resulting in users not able to claim their reward shares from the Curve Gauge.

Impact

The protocol users cannot claim any rewards if the strategy uses Gauge instead of Booster.

Code Snippets

https://github.com/sherlock-audit/2025-06-notional-exponent/blob/main/notional-v4/src/rewards/AbstractRewardManager.sol#L190

Mitigation

When rewardPool == address(0), i.e., the strategy uses Gauge, instead of shortcircuiting, implement logic to claim rewards from the Gauge contract.

Discussion

sherlock-admin2

The protocol team fixed this issue in the following PRs/commits: https://github.com/notional-finance/notional-v4/pull/28

The original report as published on Sherlock, by Bluedragon. 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

The reward claim function short-circuits when the reward pool address is zero, which is the case for gauge-staked positions, instead of implementing gauge reward claiming.

Impact

Users cannot claim any rewards if the strategy uses Gauge instead of Booster.

What the attacker needed

LP tokens staked to Curve Gauge; Convex Booster not initialised

The fix

The protocol team fixed this issue in a pull request.

How it was found

  1. User calls claimRewards on the router.
  2. RewardManagerMixin::claimAccountRewards is called.
  3. RewardManagerMixing::_updateAccountRewards is invoked.
  4. Delegate call to updateAccountRewards on AbstractRewardManager.
  5. This internally calls _claimVaultRewards, which returns early because rewardPool is address(0).

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.

A user deposits money into a vault, which puts it into a Curve pool and gets LP tokens. Those tokens are then staked in a Curve Gauge to earn rewards. But the code that lets users claim those rewards only works for a different staking method (Convex Booster), so when the gauge method is used, the claim function exits early and users get nothing.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Bluedragon

View all

11 more disclosed reports, best first.

More from Notional Exponent

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.