Satellite chains can't execute `onlyGovernance` functions
Satellite chains execute governance proposals only through the timelock controller, bypassing the OpenZeppelin Governor's execute function. As a result, functions protected by the onlyGovernance modifier cannot be called on satellites because the internal governance-call queue is never populated.
EgisSecurity Follow with ExtraCaterpillar and dimulski
Originally disclosed on Sherlock
Source: https://github.com/sherlock-audit/2025-09-summer-fi-governance-v2-judging/issues/689
This issue has been acknowledged by the team but won't be fixed at this time.
Found by
EgisSecurity, ExtraCaterpillar, dimulski
Summary
Satellite chains only queue and execute via SummerTimelockController, they never route execution through OZ Governor::execute. Any function guarded by onlyGovernance (which relies on OZ’s internal governance-call queue) is effectively uncallable on satellites.. On hub this works (flows through Governor::execute), but on satellites the governance-call deque is never populated, so _checkGovernance() reverts.
Timelock is the executor inGovernorTimelockController:
/**
* @dev Address through which the governor executes action. In this case, the timelock.
*/
function _executor() internal view virtual override returns (address) {
return address(_timelock);
}
SummerGovernorV2 confirms this:
/**
* @dev Returns the address of the executor (timelock).
* @return The address of the executor.
*/
//@info SummerTimelockController is the executor
function _executor()
internal
view
override(Governor, GovernorTimelockControl)
returns (address)
{
return GovernorTimelockControl._executor();
}
This is what onlyGovernance checks:
modifier onlyGovernance() {
_checkGovernance();
_;
}
function _checkGovernance() internal virtual {
if (_executor() != _msgSender()) {
revert GovernorOnlyExecutor(_msgSender());
}
if (_executor() != address(this)) {
bytes32 msgDataHash = keccak256(_msgData());
// loop until popping the expected operation - throw if deque is empty (operation not authorized)
while (_governanceCall.popFront() != msgDataHash) {}
}
}
_governanceCall is populated in Governor::execute:
function execute(
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
bytes32 descriptionHash
) public payable virtual returns (uint256) {
uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);
_validateStateBitmap(
proposalId,
_encodeStateBitmap(ProposalState.Succeeded) | _encodeStateBitmap(ProposalState.Queued)
);
// mark as executed before calls to avoid reentrancy
_proposals[proposalId].executed = true;
// before execute: register governance call in queue.
if (_executor() != address(this)) {
for (uint256 i = 0; i < targets.length; ++i) {
if (targets[i] == address(this)) {
_governanceCall.pushBack(keccak256(calldatas[i]));
}
}
}
_executeOperations(proposalId, targets, values, calldatas, descriptionHash);
// after execute: cleanup governance call queue.
if (_executor() != address(this) && !_governanceCall.empty()) {
_governanceCall.clear();
}
emit ProposalExecuted(proposalId);
return proposalId;
}
OZ requires Governor::execute to push governance-call msgData hashes when executor != self. Satellites never call it, they use timelock queue/execute directly, so _governanceCall is empty and onlyGovernance reverts in _checkGovernance().
Root Cause
Satellite execution bypasses Governor::execute, so OZ’s governance-call deque (_governanceCall) is never populated.
Internal Pre-conditions
Cross-chain call to an onlyGovernance function (e.g., updateTimelock, relay).
External Pre-conditions
None
Attack Path
None
Impact
onlyGovernance functions cannot be executed on satellites
PoC
No response
Mitigation
Either override onlyGovernance functions and add inline checks that bypass the _governanceCall deque or populate _governanceCall when the proposal is queued.
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
Satellite execution bypasses Governor::execute, so the governance-call deque is never populated.
Impact
Functions guarded by onlyGovernance cannot be executed on satellite chains.
What the attacker needed
Governance proposal on satellite chain; target function uses onlyGovernance
The fix
The team acknowledged the issue but won't fix it at this time; a fix would involve overriding the onlyGovernance functions with inline checks or populating the governance-call queue when proposals are queued.
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.
In this system, some functions are meant to be called only by the governance process. The governance contract keeps a temporary list of approved calls, but on satellite chains that list is never filled because the execution path skips the step that adds entries. So those protected functions always fail when called on satellites.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.