CVE-2026-32007
highpriority · track · 32OT risk · elevatedEPSS 0.004 · 32 %ileDEEUUSEPSS · scored 2026-10-27
OpenClaw versions prior to 2026.2.23 contain a path traversal vulnerability in the experimental apply_patch tool that allows attackers with sandbox access to modify files outside the workspace directory by exploiting inconsistent enforcement of workspace-only checks on mounted paths. Attackers can use apply_patch operations on writable mounts outside the workspace root to access and modify arbitrary files on the system.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–8.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0490OpenClaw: Mehrere SchwachstellenDeutsch2026-02-23csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in OpenClaw ausnutzen, um beliebigen Programmcode auszuführen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren, vertrauliche Informationen offenzulegen, Cross-Site-Scripting-Angriffe durchzuführen, einen Denial-of-Service-Zustand zu verursachen oder andere nicht näher bezeichnete Angriffe durchzuführen.
- GHSA-h9xm-j4qg-fvpgOpenClaw: Experimental apply_patch may bypass workspace-only checks in opt-in sandbox mounts (off by default)2026-03-03ghsa · osvUS
### Summary In some opt-in sandbox configurations, the **experimental** `apply_patch` tool did not consistently apply workspace-only checks to mounted paths (for example `/agent/...`). ### Impact 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 `apply_patch`, - workspace-only expectations (`tools.fs.workspaceOnly=true` and/or `tools.exec.applyPatch.workspaceOnly=true`), - and writable mounts outside workspace. Under that opt-in setup, `apply_patch` operations could target mounted paths outside the workspace root. ### Affected Packages / Versions - Package: `openclaw` (npm) - Affected published versions: `<= 2026.2.22-2` - Fixed in code on `main`: commit `6634030be31e1a1842967df046c2f2e47490e6bf` - Patched release: `2026.2.23` ### Technical Details In the sandbox path flow, `apply_patch` used `sandbox.bridge.resolvePath(...)` without applying the same workspace-root assertion used by other filesystem tools. The fix makes `apply_patch` follow the same workspace-only enforcement for sandbox-resolved paths (unless explicitly disabled with `tools.exec.applyPatch.workspaceOnly=false`). ### Fix Commit(s) - `6634030be31e1a1842967df046c2f2e47490e6bf` ### Release Process Note `patched_versions` is pre-set to the released version (`2026.2.23`). Patched in `2026.2.23` and published. OpenClaw thanks @tdjackey for reporting.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/openclaw/openclaw/commit/6634030be31e1a1842967df046c2f2e47490e6bfcnnvd
- https://github.com/openclaw/openclaw/releasesPatchcnnvd
- https://github.com/openclaw/openclaw/security/advisories/GHSA-h9xm-j4qg-fvpgcnnvd
- https://www.vulncheck.com/advisories/openclaw-sandbox-bypass-in-apply-patch-tool-via-workspace-only-check-bypasscnnvd
- https://github.com/openclaw/openclaw/commit/6634030be31e1a1842967df046c2f2e47490e6bfenisa_euvd
- https://github.com/openclaw/openclaw/security/advisories/GHSA-h9xm-j4qg-fvpgenisa_euvd
- https://www.vulncheck.com/advisories/openclaw-sandbox-bypass-in-apply-patch-tool-via-workspace-only-check-bypassenisa_euvd
- https://github.com/openclaw/openclaw/commit/6634030be31e1a1842967df046c2f2e47490e6bfPatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan