GitHub Advisoryadvisory · npm

GHSA-jf6w-m8jw-jfxc OpenClaw: Write-scoped callers could reach admin-only session reset logic through `agent`

MEDIUM Published 2026-03-13 Modified 2026-03-13 Official page ↗
Ecosystem
npm
Packages
openclaw
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Weaknesses
CWE-863
Reviewed
2026-03-13

Affected packages

• npm openclaw: < 2026.3.11 → fixed in 2026.3.11

Description

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.

Related

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References