Skip to main content

CVE-2026-32060 — OpenClaw has a path traversal in openclaw

HIGH

OpenClaw has a path traversal in apply_patch could write/delete files outside the workspace

Published February 19, 2026Updated March 13, 2026Source: OSV

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.

Check my package-lock.json

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.enabled disabled if you do not need apply_patch.
  • Keep tools.exec.applyPatch.workspaceOnly at its secure default of true.
  • 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

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
Update openclaw to 2026.2.14 or later
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).

PackageFixed In
openclaw npm · Affected: All versions2026.2.14

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.21%
EPSS percentile: 68.2

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

GHSA-r5fq-947m-xm57

Related CVEs

  • CVE-2026-28446
    CRITICAL

    OpenClaw has an inbound allowlist policy bypass in voice-call extension (empty caller ID + suffix matching)

  • CVE-2026-33579
    CRITICAL

    OpenClaw: /pair approve command path omitted caller scope subsetting and reopened device pairing escalation

  • CVE-2026-35639
    CRITICAL

    OpenClaw Gateway: RCE and Privilege Escalation from operator.pairing to operator.admin via device.pair.approve

  • CVE-2026-32915
    HIGH

    OpenClaw: Leaf subagents could steer sibling sessions across sandbox boundaries

  • CVE-2026-35674
    HIGH

    OpenClaw: Scoped chat.send route inheritance could bypass admin command scope gates

  • CVE-2026-53836
    HIGH

    OpenClaw: PowerShell encoded-command aliases could miss exec allowlist checks

  • CVE-2026-33578
    MEDIUM

    OpenClaw: Google Chat and Zalouser group sender allowlist bypass via policy downgrade

  • CVE-2026-42426
    MEDIUM

    OpenClaw `node.pair.approve` placed in `operator.write` scope instead of `operator.pairing` allows unprivileged pairing approval

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json