Loading...
Skip to main content

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

HIGH

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

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

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 - 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 (235 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
openclaw
npm
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. 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

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-r5fq-947m-xm57

Related CVEs

  • CVE-2026-32922
    CRITICAL

    OpenClaw: Pairing-scoped device tokens could mint `operator.admin` and reach node RCE

  • CVE-2026-41329
    CRITICAL

    OpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalation

  • CVE-2026-28466
    CRITICAL

    OpenClaw Vulnerable to Remote Code Execution via Node Invoke Approval Bypass in Gateway

  • CVE-2026-28363
    HIGH

    OpenClaw's tools.exec.safeBins sort long-option abbreviation bypass can skip exec approval in allowlist mode

  • CVE-2026-28470
    HIGH

    OpenClaw has an exec allowlist bypass via command substitution/backticks inside double quotes

  • CVE-2026-41386
    HIGH

    OpenClaw: Unbound bootstrap setup codes allow privilege escalation during pairing

  • CVE-2026-41378
    HIGH

    OpenClaw: Paired node escalates to gateway RCE via unrestricted node.event agent dispatch

  • CVE-2026-32010
    MEDIUM

    In OpenClaw, manually adding sort to tools.exec.safeBins could bypass allowlist approval via --compress-program

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies