CVE-2026-32060 — OpenClaw has a path traversal in openclaw
OpenClaw has a path traversal in apply_patch could write/delete files outside the workspace
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.21%). Schedule for your next planned update.
Does your project use an affected openclaw version?
Paste your package-lock.json to check it for CVE-2026-32060 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
In affected versions, when apply_patch was enabled and the agent ran without filesystem sandbox containment, crafted paths could cause file writes/deletes outside the configured workspace directory.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
<= 2026.2.13 - Fixed:
>= 2026.2.14
Details
The non-sandbox path resolution in apply_patch did not enforce workspace containment. Inputs like ../../... or absolute paths could escape the working directory in non-sandboxed mode.
Impact
Practical impact depends on deployment and who can trigger tool execution. This is most relevant when tool invocation is exposed to less-trusted callers or when operators expected workspace-only containment.
Workarounds
- Keep
tools.exec.applyPatch.enableddisabled if you do not needapply_patch. - Keep
tools.exec.applyPatch.workspaceOnlyat its secure default oftrue. - Restrict who can trigger tool execution (and which tools are allowlisted).
Configuration Note
tools.exec.applyPatch.workspaceOnly: false intentionally opts out of workspace containment and can re-enable outside-workspace writes/deletes.
Fix
- PR: https://github.com/openclaw/openclaw/pull/16405
- Merge commit:
5544646a09c0121fca7d7093812dc2de8437c7f1
Credits
Thanks to @p80n-sec for reporting this issue.
Advisory Timeline
- First published February 19, 2026 (280 days ago).
- Last revised March 13, 2026 — 22 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install openclaw@2026.2.14
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| openclaw npm · Affected: All versions | 2026.2.14 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-r5fq-947m-xm57WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-32060ADVISORY
- https://github.com/openclaw/openclaw/pull/16405WEB
- https://github.com/openclaw/openclaw/commit/5544646a09c0121fca7d7093812dc2de8437c7f1WEB
- https://github.com/openclaw/openclawPACKAGE
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.14WEB
- https://www.vulncheck.com/advisories/openclaw-path-traversal-in-apply-patch-via-crafted-pathsWEB
Frequently Asked Questions
- What is CVE-2026-32060?
- OpenClaw has a path traversal in apply_patch could write/delete files outside the workspace. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-32060?
- CVE-2026-32060 affects openclaw. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-32060 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 68.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-28446CRITICAL
OpenClaw has an inbound allowlist policy bypass in voice-call extension (empty caller ID + suffix matching)
- CVE-2026-33579CRITICAL
OpenClaw: /pair approve command path omitted caller scope subsetting and reopened device pairing escalation
- CVE-2026-35639CRITICAL
OpenClaw Gateway: RCE and Privilege Escalation from operator.pairing to operator.admin via device.pair.approve
- CVE-2026-32915HIGH
OpenClaw: Leaf subagents could steer sibling sessions across sandbox boundaries
- CVE-2026-35674HIGH
OpenClaw: Scoped chat.send route inheritance could bypass admin command scope gates
- CVE-2026-53836HIGH
OpenClaw: PowerShell encoded-command aliases could miss exec allowlist checks
- CVE-2026-33578MEDIUM
OpenClaw: Google Chat and Zalouser group sender allowlist bypass via policy downgrade
- CVE-2026-42426MEDIUM
OpenClaw `node.pair.approve` placed in `operator.write` scope instead of `operator.pairing` allows unprivileged pairing approval