| Package | Affected versions | Patched versions |
|---|---|---|
| openclaw | < 2026.2.14 | 2026.2.14 |
| openclaw | < 2026.2.14 | 2026.2.14 |
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.
openclaw (npm)<= 2026.2.13>= 2026.2.14The 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.
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.
tools.exec.applyPatch.enabled disabled if you do not need apply_patch.tools.exec.applyPatch.workspaceOnly at its secure default of true.tools.exec.applyPatch.workspaceOnly: false intentionally opts out of workspace containment and can re-enable outside-workspace writes/deletes.
5544646a09c0121fca7d7093812dc2de8437c7f1Thanks to @p80n-sec for reporting this issue.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free