# Redeems through RedeemQueue avoid paying management and performance fee.

RedeemQueue burns shares at request time, removing them from fee-accruing totalShares, so queued redeems escape management and performance fees.

- Payout: Audit contest
- Severity: high
- Program: Mellow Flexible Vaults
- Found by: bughuntoor
- Disclosed: 2025-07-12
- Write-up quality: 6/10
- Original: https://github.com/sherlock-audit/2025-07-mellow-flexible-vaults-judging/issues/491
- Library page: https://bugbountylibrary.com/r/sherlock%3A2025-07-mellow-flexible-vaults%3AH-6
- Tags: area:web3 domain:web3 impact:funds-loss kind:contest platform:sherlock sev:high tech:solidity technique:source-review vuln:accounting-error vuln:business-logic vuln:fee-bypass

**Target:** RedeemQueue.sol redeem flow / FeeManager accounting
**Root cause:** redeem() burns shares immediately, removing them from activeShares/totalShares used for fee accrual, while the underlying funds stay in the vault until report handling; queued shares thus accrue no management/performance fees.
**Steps:**
1. Observe reports handled daily; last report at 00:00.
2. User calls `redeem` at 12:00; shares burned via `shareManager_.burn(caller, shares)` and removed from totalShares.
3. Funds remain in vault until next report at 00:00.
4. At report, fee calculation over totalShares excludes the queued shares, so no management/performance fee charged for the 12h+ period.
5. User claims redeem at 00:00 paying only redeem fee, avoiding management/performance fees.
**How found:** Code reading of RedeemQueue.redeem: noticed shares are burned at request time but funds only leave at report handling, and that totalShares for fee accrual counts only allocated/minted shares, not queued ones.
**Exploitation:** Any redeemer can queue a redeem request mid-epoch; shares are burned immediately so they stop accruing management/performance fees while capital stays deployed in the vault until the next report, letting the user dodge a full day of fees at the vault's expense.
**Insight:** When auditing queue-based vaults, check whether shares are burned at request time vs. settlement time and whether fee accrual denominators (totalShares/activeShares) include in-flight queued shares; mismatched timing lets users escape time-based fees.

