Openclaw cli: OpenClaw has a path traversal in apply_patch could write/delete files outside the workspace
Affects openclaw-cliSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 2026.2.14 soon.
Data as of 16 Nov 2026, 20:25 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.2.14
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade openclaw-cli to 2026.2.14.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in OpenClaw CLI version 2026.2.14 and later. Users should upgrade to this version to remediate the vulnerability. If upgrading is not immediately possible, mitigations include disabling the apply_patch feature (tools.exec.applyPatch.enabled = false), ensuring workspace containment is enabled (tools.exec.applyPatch.workspaceOnly = true), and restricting which users can trigger tool execution and which tools are allowlisted. These mitigations prevent path traversal outside the workspace.
Description
OpenClaw CLI versions up to 2026.2.13 contain a path traversal vulnerability in the apply_patch feature that can write or delete files outside the intended workspace directory if filesystem sandbox containment is not enabled. This occurs because the path resolution does not enforce workspace containment when apply_patch is enabled and the agent runs without sandboxing. The vulnerability is fixed in version 2026.2.14. The impact depends on deployment specifics and who can trigger the tool execution. Mitigations include disabling apply_patch if not needed, keeping workspaceOnly containment enabled, and restricting tool execution permissions.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-r5fq-947m-xm57 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-32060 (opens in a new tab)
- github.com/openclaw/openclaw/pull/16405 (opens in a new tab)
- github.com/openclaw/openclaw/commit/5544646a09c0121fca7d7093812dc2de8437c7f1 (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- github.com/openclaw/openclaw/releases/tag/v2026.2.14 (opens in a new tab)
- vulncheck.com/advisories/openclaw-path-traversal-in-apply-patch-via-crafted-paths (opens in a new tab)