OpenClaw: Experimental apply_patch may bypass workspace-only checks in opt-in sandbox mounts (off by default)
CVE-2026-32007 · GHSA-h9xm-j4qg-fvpg · published 2026-03-03 · updated 2026-03-30
- Severity
- High
- CVSS score
- 6.8
- Chance of exploitation (EPSS)
- 0.42%
- Fixed in
- 2026.2.23
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
This does not affect default installs. Default posture: agents.defaults.sandbox.mode=off (sandbox disabled by default) tools.exec.applyPatch.enabled=false (experimental tool disabled by default) This behavior applies only when all of the following are enabled/configured: sandbox mode, experimental applypatch, workspace-only expectations (tools.fs.workspaceOnly=true and/or tools.exec.applyPatch.workspaceOnly=true), and writable mounts outside workspace. Under that opt-in setup, applypatch operations could target mounted paths outside the workspace root.
Upgrade openclaw to 2026.2.23 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
6634030be31e1a1842967df046c2f2e47490e6bf
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| openclaw | npm | < 2026.2.23 | 2026.2.23 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
- CriticalOpenClaw: QQBot admin commands could skip DM-only and allowFrom policyopenclaw
- CriticalOpenClaw: Feishu webhook and card-action validation now fail closedopenclaw
- CriticalOpenClaw: Gateway HTTP endpoints re-resolve bearer auth after SecretRef rotationopenclaw
- CriticalOpenClaw: Sandbox escape via TOCTOU race in remote FS bridge readFileopenclaw
- CriticalOpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalationopenclaw
- CriticalOpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeoveropenclaw
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.