Privilege Escalation in OpenClaw gateway plugin subagent deleteSession fallback
OpenClaw before version 2026.3.25 contains a privilege escalation vulnerability in the gateway plugin subagent fallback deleteSession function. When session deletion is triggered without a request-scoped client, the code falls back to using a synthetic operator.admin runtime scope. This causes the deleteSession path to execute privileged operations under an unintended administrative context rather than the caller's actual scope, enabling elevation of privileges through misuse of the fallback logic.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to cause privileged operations to run with unintended administrative scope. This can result in unauthorized session deletion and execution of actions reserved for administrative contexts, effectively bypassing intended authorization boundaries and enabling privilege escalation within the affected OpenClaw environment.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the gateway plugin and subagent functionality that can invoke session deletion, especially from untrusted or lower-privileged contexts. Review and harden authorization checks around deleteSession operations, disable or gate any fallback paths that substitute synthetic administrative scope, and monitor for anomalous or unexpected session deletion activity that may indicate abuse of elevated runtime scope.
Patch, then assume compromise.
Upgrade OpenClaw to version 2026.3.25 or later, where the vulnerable fallback behavior in the gateway plugin subagent deleteSession function is addressed. The vulnerable logic should be corrected so that privileged operations do not inherit a synthetic administrative runtime scope when a request-scoped client is absent, and authorization should be enforced against the actual caller context.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.