# GHSA-474h-prjg-mmw3: OpenClaw: Sandboxed sessions_spawn(runtime="acp") bypassed sandbox inheritance and allowed host ACP initialization

> OpenClaw library allows sandboxed sessions to bypass isolation and initialize host-side ACP runtime, enabling privilege escalation or code execution.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Not stated
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Mar 2026

## What is GHSA-474h-prjg-mmw3?

GHSA-474h-prjg-mmw3 is a vulnerability in openclaw, published on 3 Mar 2026. 

### Official description

### 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, while `runtime="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_spawn` with `runtime="acp", sandbox="require"`
  - align sandboxed prompt guidance to avoid advertising blocked ACP paths

### Fix Commit(s)
- `ac11f0af731d41743ba02d8595f4d0fe747336e3`
- `c703aa0fe92df9fb71cf254fc46991e05fba2114`

## Which versions are affected by GHSA-474h-prjg-mmw3?

2 open source packages ship an affected version, including openclaw.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `openclaw` | npm | All versions | 2026.3.2 |
| `openclaw` | npm | All versions | 2026.3.2 |

## How do I fix GHSA-474h-prjg-mmw3?

Upgrade openclaw to 2026.3.2 or later.

## Is GHSA-474h-prjg-mmw3 being exploited?

There is no known exploitation of GHSA-474h-prjg-mmw3 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-474h-prjg-mmw3 and fix it if it is affected.

What it is: GHSA-474h-prjg-mmw3 is a vulnerability in openclaw, published on 3 Mar 2026. 
Exploitation: There is no known exploitation of GHSA-474h-prjg-mmw3 in the wild and no public exploit code.

Affected packages and fixed versions:
- openclaw (npm): affected all versions; fixed in 2026.3.2
- openclaw (npm): affected all versions; fixed in 2026.3.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-474h-prjg-mmw3/ (Markdown: https://insights.sbomify.com/GHSA-474h-prjg-mmw3/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-474h-prjg-mmw3

---
From sbomify Insights: https://insights.sbomify.com/GHSA-474h-prjg-mmw3/
Summaries are generated and may contain mistakes; the official description above is the record.
