GHSA-474h-prjg-mmw3: OpenClaw: Sandboxed sessions_spawn(runtime="acp") bypassed sandbox inheritance and allowed host ACP initialization
In OpenClaw 2026.3.1 and earlier, a sandboxed session could call `sessions_spawn(runtime="acp")` and start a host-side ACP session, escaping the sandbox. Upgrade to openclaw 2026.3.2, which refuses ACP spawns from sandboxed sessions.
Published Mar 3, 2026 · Analysis Oct 31, 2026
What an attacker can do
sessions_spawn supports runtime="subagent" and runtime="acp". The subagent path enforced sandbox inheritance, so a child of a sandboxed session stayed sandboxed. The ACP path had no equivalent check. ACP sessions run outside the sandbox, so a sandboxed agent could start a host-side ACP runtime and work from there with host privileges.
The advisory scores this with a changed scope and high impact on confidentiality, integrity and availability. It also needs high privileges and high attack complexity: the caller must already control a sandboxed agent session that has the spawn tool. Typical routes are a prompt injection or a malicious instruction reaching a sandboxed agent. The sandbox is the control that was meant to contain that agent, so a bypass puts the host's files, tokens and shell within reach.
Deployments that do not use the sandbox, or do not enable ACP, are not in scope.
Who is affected
openclaw (npm) versions up to and including 2026.3.1; 2026.3.1 was the latest published version at triage. The flaw applies when sandboxed sessions can use sessions_spawn and ACP runtime is available.
npm ls openclawThen check whether your agents run in sandbox mode with the sessions_spawn tool enabled.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.1
- Fixed in
- 2026.3.2
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.2:
npm install [email protected]The fix denies ACP spawn when the requester session is sandboxed. The error starts "Sandboxed sessions cannot spawn ACP sessions" and points to runtime="subagent". It also rejects runtime="acp" with sandbox="require", because ACP sessions run outside the sandbox. The sandboxed system prompt no longer advertises the ACP path. The sources give no workaround.
How to tell if you were hit
Search agent and gateway logs for sessions_spawn calls with runtime="acp" made from sandboxed sessions, and for ACP sessions that were started by sandboxed parents. After upgrading, blocked attempts return a forbidden status with the "Sandboxed sessions cannot spawn ACP sessions" message. Beam records agent shell commands and MCP tool calls, so host-side activity that follows a sandboxed session's spawn call stands out.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Sandboxed sessions_spawn(runtime="acp") could bypass sandbox inheritance and initialize host-side ACP runtime. The fix now fail-closes ACP spawn from sandboxed requester sessions and rejects sandbox="require" for runtime="acp".
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published npm version at triage time:
2026.3.1(March 2, 2026) - Vulnerable range:
<=2026.3.1 - Patched release:
2026.3.2(released)
Technical Details
- Root cause:
runtime="subagent"enforced sandbox inheritance, whileruntime="acp"did not enforce equivalent sandbox/runtime checks. - Security impact: sandbox-boundary bypass into host-side ACP initialization.
- Fixed behavior:
- deny ACP spawn when requester runtime is sandboxed
- deny
sessions_spawnwithruntime="acp", sandbox="require" - align sandboxed prompt guidance to avoid advertising blocked ACP paths
Fix Commit(s)
ac11f0af731d41743ba02d8595f4d0fe747336e3c703aa0fe92df9fb71cf254fc46991e05fba2114
Credited to tdjackey.
Questions
- What is the difference between runtime acp and subagent?
Per the advisory,
subagentenforced sandbox inheritance andacpdid not. ACP sessions run outside the sandbox, which is why the fix blocks them from sandboxed requesters.- Does this need privileges?
Yes. The CVSS 3.1 vector lists high privileges and high attack complexity, with changed scope. The attacker must control a sandboxed session that can call
sessions_spawn.- Which version fixes it?
openclaw 2026.3.2. Versions up to 2026.3.1 are affected. The advisory has no CVE id in the data, only GHSA-474h-prjg-mmw3.
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
