openclaw
Affected
- introduced
0, fixed2026.2.14(semver)
Fixed versions
2026.2.14
Fix
- Fixed version
2026.2.14npm install [email protected]
Advisory
Also known as: CVE-2026-32060
OpenClaw has a path traversal in apply_patch could write/delete files outside the workspace
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
openclaw (npm)<= 2026.2.13>= 2026.2.14Details
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
tools.exec.applyPatch.enabled disabled if you do not need apply_patch.tools.exec.applyPatch.workspaceOnly at its secure default of true.Configuration Note
tools.exec.applyPatch.workspaceOnly: false intentionally opts out of workspace containment and can re-enable outside-workspace writes/deletes.
Fix
5544646a09c0121fca7d7093812dc2de8437c7f1Credits
Thanks to @p80n-sec for reporting this issue.
High Basis: The source's own band: HIGH
0, fixed 2026.2.14 (semver)2026.2.14
2026.2.14npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0