Validators can t claim their accrued commission if they are made inactive
The requestCommissionClaim function reverts if the validator is inactive or slashed, preventing validators from claiming commission they earned while active. An attacker (or admin action) that makes a validator inactive causes the validator to lose access to accrued commission, while users can still claim their rewards from the same validator.
- Disclosed after under an hour
51476 sc medium validators can t claim their accrued commission if they are made inactive
Submitted on Aug 3rd 2025 at 07:41:23 UTC by @WinSec for Attackathon | Plume Network
- Report ID: #51476
- Report Type: Smart Contract
- Report severity: Medium
- Target: https://github.com/immunefi-team/attackathon-plume-network/blob/main/plume/src/facets/ValidatorFacet.sol
- Impacts:
- Theft of unclaimed yield
Description
Brief/Intro
Validators lose their accrued commission if they are made inactive.
Vulnerability Details
requestCommissionClaim has a check:
if (!validator.active || validator.slashed) {
revert ValidatorInactive(validatorId);
}
Which means if the validator is not active then they can't claim commission. This is contradictory to the rules that apply to users:
when users call claim it calls _validateValidatorForClaim:
function _validateValidatorForClaim(
uint16 validatorId
) internal view {//@audit-ok only cheks if the
PlumeStakingStorage.Layout storage $ = PlumeStakingStorage.layout();
if (!$.validatorExists[validatorId]) {
revert ValidatorDoesNotExist(validatorId);
}
// Allow claims from slashed validators - users should be able to claim preserved rewards
// Only reject if validator doesn't exist
}
Users are allowed to claim from slashed validators as well as inactive validators, as long as the validator exists. But validators who have accrued commission and aren't malicious and not slashed — if they are made inactive — cannot claim their commission and thus lose it unless reactivated.
Impact Details
Validators lose their accrued commission.
References
Proof of Concept
{% stepper %} {% step %}
Step
Validator is active and earning commission on stakes for multiple reward periods. {% endstep %}
{% step %}
Step
Validator accumulates significant commission (e.g., 1000 USDC) over time but hasn't claimed yet. {% endstep %}
{% step %}
Step
Admin marks validator as inactive for legitimate reasons (maintenance, compliance, protocol upgrade). {% endstep %}
{% step %}
Step
Validator attempts to claim their rightfully earned commission via requestCommissionClaim.
{% endstep %}
{% step %}
Step
Transaction reverts with ValidatorInactive(validatorId) despite commission being earned while active.
{% endstep %}
{% step %}
Step
Users can still claim rewards from the same inactive validator without any restrictions. {% endstep %}
{% step %}
Step
Validator's earned commission becomes permanently inaccessible unless reactivated. {% endstep %} {% endstepper %}
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 requestCommissionClaim function checks that the validator is active and not slashed, while the user claim path only checks that the validator exists, creating an inconsistent rule that locks earned commission.
Impact
Validators could permanently lose access to commission they earned while active unless they are reactivated, while users can still claim rewards from the same inactive validator.
What the attacker needed
Validator has accrued unclaimed commission; validator is made inactive by admin
The fix
The claim function should allow validators to withdraw commission that was accrued while they were active, even if they are now inactive, similar to how user claims are permitted for existing validators.
How it was found
- Validator is active and earns commission over multiple reward periods.
- Validator accumulates commission but has not claimed it yet.
- Admin marks the validator as inactive for legitimate reasons.
- Validator calls requestCommissionClaim to claim the earned commission.
- The transaction reverts with ValidatorInactive, leaving the commission inaccessible.
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 validator is a participant who helps run a blockchain and earns a commission for their service. This report says that if the validator is switched off (made inactive), the code blocks them from collecting the commission they already earned, even though normal users can still collect their rewards from that same validator.
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.