openclaw
Affected
- introduced
0, fixed2026.3.23(semver)
Fixed versions
2026.3.23
Fix
- Fixed version
2026.3.23npm install [email protected]
Advisory
Also known as: CVE-2026-35660
OpenClaw: Gateway agent /reset exposes admin session reset to operator.write callers
Summary
Before v2026.3.23, the Gateway agent RPC accepted /reset and /new for callers with only operator.write, even though the direct sessions.reset RPC correctly requires operator.admin.
Affected Packages / Versions
openclaw (npm)< 2026.3.23>= 2026.3.23v2026.3.23-2 (630f1479c44f78484dfa21bb407cbe6f171dac87)2026.3.23-2Root Cause
The vulnerable path lived in src/gateway/server-methods/agent.ts. A /reset or /new message with an explicit sessionKey reached performGatewaySessionReset(...) without enforcing the same operator.admin guard used by sessions.reset.
Fix Commit(s)
50f6a2f136fed85b58548a38f7a3dbb98d2cd1a0 — fix(gateway): require admin for agent session resetRelease Status
The fix commit is contained in released tags v2026.3.23 and v2026.3.23-2. The latest shipped tag and npm release both include the fix.
Code-Level Confirmation
src/gateway/server-methods/agent.ts now rejects /reset and /new for callers that do not have operator.admin before calling performGatewaySessionReset(...).src/gateway/server-methods/agent.test.ts contains the regression test rejects /reset for write-scoped gateway callers.Thanks @smaeljaish771 for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.3.23 (semver)2026.3.23
2026.3.23npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0