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

CVE-2026-32048: OpenClaw's sandboxed sessions_spawn now enforces sandbox inheritance for cross-agent spawns

mediumCVSS 4.0 6.9GHSA-p7gr-f84w-hqg5

In OpenClaw 2026.2.26 and earlier, a sandboxed session could use cross-agent `sessions_spawn` to start a child under an agent configured with `sandbox.mode="off"`, which escapes the sandbox. Fixed in 2026.3.1, which rejects such spawns.

Published Mar 2, 2026 · Updated Mar 27, 2026 · Analysis Oct 31, 2026

What an attacker can do

OpenClaw lets one agent spawn a session under another agent. Each agent has its own sandbox setting. The spawn path did not check that the child kept the confinement of the requester. A session running inside a sandbox could therefore ask for a child under an agent with sandbox.mode="off", and that child ran with no confinement.

It matters in mixed-agent setups that allow cross-agent spawning, where some agents are sandboxed and others are not. Whatever can drive a sandboxed session, such as a prompt injection in content the agent reads, can use the unsandboxed child to run tools with the host access the sandbox was meant to withhold. The registry scores it as low integrity impact with network attack vector and no privileges. The advisory gives no exploit steps beyond the spawn downgrade.

Who is affected

The openclaw npm package at 2026.2.26 and earlier (below 2026.3.1). Exposure needs two things in your config: cross-agent spawning allowed, and at least one agent with sandbox.mode="off" that a sandboxed agent may target.

npm ls -g openclaw
openclaw --version

openclaw

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

How to fix it

Upgrade to openclaw 2026.3.1.

npm install -g [email protected]

Sandbox inheritance is now enforced at spawn time: if the requester is sandboxed and the resolved child runtime would be unsandboxed, the spawn is rejected. The advisory names no workaround. Until you upgrade, you can reduce risk by disallowing cross-agent spawns from sandboxed agents to unsandboxed ones in your agent configuration.

How to tell if you were hit

Review your agent config for agents with sandbox.mode="off" that sandboxed agents are allowed to spawn. Look at session logs for sessions_spawn calls from a sandboxed requester that name another agent, and check whether the resulting child ran unsandboxed. Beam records agent shell commands and MCP tool calls, so commands run by an unsandboxed child would appear there.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

A sandboxed session could use cross-agent sessions_spawn to create a child under an agent configured with sandbox.mode="off", downgrading runtime confinement.

Impact

In mixed-agent setups that allow cross-agent spawning, a sandboxed requester could escape into an unsandboxed child runtime.

Fix

Spawn-time sandbox inheritance is now enforced: if the requester is sandboxed and the resolved child runtime would be unsandboxed, spawn is rejected.

Affected and Patched Versions

  • Affected: <= 2026.2.26
  • Patched: 2026.3.1

Credited to tdjackey.

Questions

Is every OpenClaw install affected by CVE-2026-32048?

Only versions up to 2026.2.26 that allow cross-agent spawning with at least one agent configured with sandbox.mode off. A single-agent setup has no such child to escape to.

What does the patched version do?

In 2026.3.1 the spawn is rejected when the requester is sandboxed and the child runtime would be unsandboxed.

Is there a fix commit link?

The advisory does not list one. It states the affected range as 2026.2.26 and earlier and the patched version as 2026.3.1.

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