VDB
Sign up
MEDIUM6.1

GHSA-jf6w-m8jw-jfxc

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

Quick fix

GHSA-jf6w-m8jw-jfxc — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.3.11

Details

## 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 `openclaw@2026.3.11`.

## Workarounds Upgrade to `2026.3.11` or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.3.11
Fixnpm install openclaw@2026.3.11

References