Skip to content

Sherlock

Mellow Flexible Vaults

Every publicly disclosed report for Mellow Flexible Vaults and what kind of bugs they were.

disclosed reports
15
most reported class
Business logic
bug classes found
3
first disclosure
2025
Find Mellow Flexible Vaults on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Mellow Flexible Vaults chose to make public.

Business logic

Protocol Fee Multiple Accrual in Oracle.submitReports

The Oracle.submitReports function processes multiple asset reports in one transaction, but the fee calculation uses the last stored timestamp which is only updated for the base asset. When non-base assets are processed before the base asset, each report accrues protocol fees based on the same old timestamp, leading to excessive fees being charged.

Mellow Flexible Vaults

High
Business logic

Protocol Fee Exponential Compounding in ShareModule.handleReport

The protocol fee calculation in ShareModule.handleReport compounds exponentially because fees are calculated on total shares that already include previously minted fees. An attacker could not directly exploit this, but frequent reporting causes users to pay more fees than intended.

Mellow Flexible Vaults

Medium
DoS

DoS in Redemption Due to Unchecked Asset Support in Subvaults

The vault's redemption logic aggregates token balances from all subvaults without checking whether each subvault supports the asset. An attacker can send a tiny amount of an unsupported asset to a subvault, causing redemptions to revert and locking funds.

Mellow Flexible Vaults

Medium
Access control

`Consensus`.`checkSignatures` doesn't check duplication of signers

The signature validation function only checks the number of signatures against the threshold, not whether they come from distinct signers. An attacker with one valid signature could duplicate it to meet the threshold and execute an order that should have required multiple approvals.

Mellow Flexible Vaults

High
Business logic

RedeemQueue Accounting Mismatch Between Batch Creation and Claim Eligibility

The RedeemQueue contract processes fewer redemption requests in a batch than users are allowed to claim, due to inconsistent timestamp boundary handling. An attacker can claim shares from a batch that does not include their contribution, depleting the batch and preventing legitimate users from claiming their full entitlement.

Mellow Flexible Vaults

High
Business logic

Incorrect performance fee calculation in `FeeManager`

The performance fee calculation in FeeManager.calculateFee uses an incorrect formula that multiplies the price difference by total shares without dividing by the current price, leading to incorrect fee shares. An attacker could potentially exploit this to cause incorrect fee distribution, but the report does not specify an attack path.

Mellow Flexible Vaults

High
Business logic

Redeems through RedeemQueue avoid paying management and performance fee

Shares queued for redemption are burned immediately, removing them from activeShares, but the underlying funds remain in the vault until the next report. This allows users to avoid management and performance fees for the period between the last fee accrual and the report handling.

Mellow Flexible Vaults

High
Business logic

Flawed Logic in `ShareManager` Inverts Transfer Whitelist Behavior

The updateChecks function in ShareManager.sol inverts the transfer whitelist logic, causing transfers from whitelisted accounts to be blocked instead of allowed. An attacker could not exploit this directly, but it breaks the intended security feature and disrupts vault operations.

Mellow Flexible Vaults

Medium
Business logic

Stuck `stETH` rewards in queue contracts

The queue contracts are not compatible with rebasing tokens like stETH, so when stETH rewards accrue, the extra balance remains stuck in the queue. An attacker could potentially exploit this to cause loss of funds or disrupt operations.

Mellow Flexible Vaults

Medium
DoS

Malicious Users Can Perpetually Lock `feeRecipient` Shares via Targeted Lockup Reset

The ShareManager.mint() function applies a targetLockup to all recipients, including the feeRecipient, and the lock resets on every mint. A malicious user can repeatedly trigger small fee mints to perpetually reset the feeRecipient's lock, preventing it from transferring or withdrawing its shares.

Mellow Flexible Vaults

Medium