OpenClaw Privilege Escalation Vulnerability in Gateway Plugin Subagent DeleteSession Function

Vulnerability

A privilege escalation vulnerability has been identified in OpenClaw versions prior to 2026.3.25. The issue resides in the gateway plugin subagent fallback deleteSession function, which improperly uses a synthetic operator.admin runtime scope. This vulnerability allows attackers to delete sessions without a request-scoped client, thereby executing privileged operations with unintended administrative authority.

Impact

Exploitation of this vulnerability allows for unauthorized privilege escalation, enabling attackers to perform administrative actions without proper authorization.

Reproduction

The vulnerability can be reproduced by invoking the deleteSession function in the gateway plugin subagent fallback context, without a request-scoped client. This will trigger the deletion process using a synthetic operator.admin scope, thereby bypassing normal scope restrictions and allowing unauthorized administrative actions.

Remediation

Users can upgrade to OpenClaw version 2026.3.25 or later to address this vulnerability.

Added: Apr 9, 2026, 11:28 PM
Updated: Apr 9, 2026, 11:28 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.3
remediation
0.0
relevance
5.5
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.