NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-3w6x-gv34-mqpf: OpenClaw's mutating internal ACP chat commands missed operator.admin scope enforcement

highCVSS 4.0 7.1

OpenClaw before 2026.3.22 let internal-channel clients without operator.admin run mutating /acp chat commands such as spawn, cancel and set-mode. Read-only and mutating control-plane actions were meant to be separated by that scope. Upgrade openclaw to 2026.3.22 or later.

Published Mar 26, 2026 · Analysis Oct 31, 2026

What an attacker can do

The /acp chat commands control Agent Client Protocol sessions. Handling lives in src/auto-reply/reply/commands-acp.ts. Before the fix, that handler did not check the caller's scope on the internal channel, so a client holding only a lower scope such as operator.write could run actions that change state (CWE-862, missing authorization).

The fix defines a set of mutating actions that now need operator.admin: spawn, cancel, steer, close, status, set-mode, set, cwd, permissions, timeout, model and reset-options. A caller could therefore start or stop ACP sessions, steer them, change the working directory, the model or the permissions mode, and alter timeouts.

The attacker needs network access to the Gateway and a low-privilege credential (PR:L). The CVSS 4.0 vector scores integrity only (VI:H). The practical risk is to deployments that hand out write-scoped access to integrations or untrusted users: they can change how coding agent sessions run, including the permissions they run with.

Who is affected

Affected: the openclaw npm package before 2026.3.22. Exposure requires a Gateway where some internal-channel clients hold less than operator.admin. Check your version:

npm ls openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
< 2026.3.22
Fixed in
2026.3.22
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.22 or later; 2026.3.23 and 2026.3.23-2 also have the fix.

npm install -g openclaw@latest

Fix commit 229426a257e49694a59fa4e3895861d02a4d767f makes commands-acp.ts require operator.admin for the mutating actions above. A blocked client gets the reply "This /acp action requires operator.admin on the internal channel." The sessions action stays available to operator.write clients. The advisory names no workaround.

How to tell if you were hit

Review Gateway and chat logs for /acp commands (spawn, set-mode, permissions, cwd, model, cancel) issued by clients that do not hold operator.admin. Look for ACP sessions that were started, redirected or closed without an admin action. After upgrading, blocked attempts show the "requires operator.admin on the internal channel" reply, which marks probing by lower-scope clients.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Mutating internal ACP chat commands missed the operator.admin gate that should separate read-only and mutating control-plane actions.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: < 2026.3.22
  • Fixed: >= 2026.3.22
  • Latest released tag checked: v2026.3.23-2 (630f1479c44f78484dfa21bb407cbe6f171dac87)
  • Latest published npm version checked: 2026.3.23-2

Fix Commit(s)

  • 229426a257e49694a59fa4e3895861d02a4d767f

Release Status

The fix shipped in v2026.3.22 and remains present in v2026.3.23 and v2026.3.23-2.

Code-Level Confirmation

  • src/auto-reply/reply/commands-acp.ts now requires operator.admin for mutating internal ACP actions.
  • src/auto-reply/reply/commands-acp.test.ts ships regression coverage for non-admin denial and admin success cases.

OpenClaw thanks @tdjackey for reporting.

Credited to tdjackey.

Questions

Which /acp actions now need operator.admin?

Per the fix commit: spawn, cancel, steer, close, status, set-mode, set, cwd, permissions, timeout, model and reset-options. The sessions action is still open to operator.write.

Does this GHSA have a CVE id?

No CVE id is listed on this advisory. It is tracked as GHSA-3w6x-gv34-mqpf.

Is OpenClaw 2026.3.22 fixed?

Yes. Versions below 2026.3.22 are affected, and the fix remains in 2026.3.23 and 2026.3.23-2.

Is it exploited in the wild?

No source reports exploitation, and it is not in CISA's KEV catalog.

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 entries