GHSA-jf6w-m8jw-jfxc: OpenClaw: Write-scoped callers could reach admin-only session reset logic through `agent`
OpenClaw up to 2026.3.8 lets a gateway caller with only operator.write send agent requests containing /new or /reset and reach the reset logic of the admin-only sessions.reset RPC. That caller can wipe targeted conversation state without operator.admin. Upgrade the openclaw npm package to 2026.3.11.
Published Mar 13, 2026 · Analysis Nov 14, 2026
What an attacker can do
OpenClaw's gateway checks scopes on the outer RPC method only. The agent method needs operator.write, and sessions.reset needs operator.admin. But the slash-command handler behind agent called the admin-only reset code internally. The inner path was never checked, so a write-scoped caller reached session-reset mutation.
This matters on gateways where you deliberately hand operator.write to a bot, integration or less-trusted user and keep operator.admin back. Such a caller can send a message containing /new or /reset and reset targeted conversation state. That breaks the documented line between write-scoped messaging and admin-only session changes.
The damage is integrity and availability of conversations: a user or integration loses session context, or an attacker can keep resetting an agent's sessions to disrupt work. The advisory describes no code execution and no data disclosure. The attacker needs an existing write-scoped credential. The advisory does not say what is lost or whether it can be recovered.
Who is affected
The openclaw npm package at 2026.3.8 and earlier, per the advisory text. The package field lists everything below 2026.3.11. Exposure is limited to gateways that grant operator.write to callers who lack operator.admin. Check your version:
npm ls openclawIf you installed globally, use npm ls -g openclaw.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.3.11
- Fixed in
- 2026.3.11
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.11 or later:
npm install [email protected]The fix removes the routing of conversation /new and /reset through the admin-only sessions.reset entry point. The reset logic now sits in a shared service, and sessions.reset stays admin-only. The advisory names no workaround besides upgrading.
How to tell if you were hit
Look in gateway logs for agent requests from callers holding operator.write that contain /new or /reset, and for session resets with no matching sessions.reset call from an admin. Users reporting that conversations restarted for no reason is another sign. Beam records the tool calls and shell commands of agents on a developer machine, which can show unexpected resets in agent sessions run locally.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
In affected versions of openclaw, a gateway caller with operator.write could issue agent requests containing /new or /reset and reach the same reset path used by the admin-only sessions.reset RPC.
Impact
On gateways where a caller is intentionally granted operator.write but not operator.admin, that caller could reset targeted conversation state through agent slash commands. This crosses the documented method-scope boundary between write-scoped messaging and admin-only session mutation.
Affected Packages and Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.3.8 - Fixed in:
2026.3.11
Technical Details
Scope checks were enforced only on the outer RPC method. The agent slash-command path reused admin-only reset logic internally, so a write-scoped caller could reach session-reset mutation without holding operator.admin.
Fix
OpenClaw no longer routes conversation /new and /reset through the admin-only sessions.reset entry point. Reset logic now lives in a shared service, while sessions.reset remains admin-only. The fix shipped in [email protected].
Workarounds
Upgrade to 2026.3.11 or later.
Credited to tdjackey.
Questions
- Does this flaw need operator.admin?
No. That is the flaw. A caller with only operator.write can reach the admin-only reset logic through agent slash commands.
- Which OpenClaw version fixes it?
2026.3.11. The advisory lists 2026.3.8 and earlier as affected. Upgrading is the only workaround it gives.
- Can the attacker run code or read data?
The advisory describes only resetting targeted conversation state. It reports no code execution or data disclosure.
- Does it have a CVE?
No CVE is listed. It is tracked as GHSA-jf6w-m8jw-jfxc.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
