CVE-2026-32055: OpenClaw: workspace path guard bypass on non-existent out-of-root symlink leaf
OpenClaw up to 2026.2.25 has a workspace boundary bypass. If a symlink inside the workspace points outside it to a file that does not exist yet, the first write passes validation and creates the file outside the workspace. Upgrade the openclaw npm package to 2026.2.26.
Published Mar 12, 2026 · Updated Mar 30, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw's workspace-only path validation is meant to keep agent file writes inside the workspace. The check resolved aliases in a way that let a symlink with a missing out-of-root target pass the initial validation. The first write through the guarded path then followed the symlink and created the file outside the boundary.
The weaknesses are path traversal and link following (CWE-22 and CWE-59). The advisory vector is network, low privileges, no user interaction, with high integrity impact. In practice, someone who can place a symlink in the workspace and then cause a write through it can create or fill a file anywhere the OpenClaw process can write. That could be a shell startup file or a config file. The file must not exist beforehand, so this creates new files rather than overwriting existing ones. Teams that give an agent workspace-restricted write access and that load untrusted repositories or content into the workspace are most exposed.
Who is affected
The openclaw npm package, versions up to and including 2026.2.25. Version 2026.2.26 is the patched release.
Check your install:
npm ls openclaw
openclaw --versionThe flaw matters most where the workspace-only file restriction is relied on as a boundary.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.25
- Fixed in
- 2026.2.26
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.26 or later.
npm install -g openclaw@latestThe fix commits (46eba86 and 1aef45b) harden canonical boundary resolution. Missing-leaf alias paths are now checked against canonical containment, while valid in-root aliases keep working. The commit touches assertSandboxPath, the gateway's agent workspace file resolution and the boundary file reader. The sources give no workaround.
How to tell if you were hit
Search the workspace for symlinks whose targets leave the workspace root, including dangling ones:
find . -type l ! -exec test -e {} \; -printThen look for new files outside the workspace that were created by the OpenClaw process, such as dotfiles in the home directory. Beam records agent file access and shell commands, and its rules can flag writes outside the project, which helps you see where an agent wrote.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
openclaw had a workspace boundary bypass in workspace-only path validation: when an in-workspace symlink pointed outside the workspace to a non-existent leaf, the first write could pass validation and create the file outside the workspace.
Affected Packages / Versions
- Package:
openclaw(npm) - Vulnerable versions:
<= 2026.2.25 - Patched versions:
>= 2026.2.26(pre-set for next planned release) - Latest published npm version at update time:
2026.2.25
Details
The boundary check path resolved aliases in a way that allowed a non-existent out-of-root symlink target to pass the initial validation window. A first write through the guarded workspace path could therefore escape the workspace boundary.
The fix hardens canonical boundary resolution so missing-leaf alias paths are evaluated against canonical containment, while preserving valid in-root aliases. This closes the first-write escape condition without regressing valid in-root alias usage.
Fix Commit(s)
46eba86b45e9db05b7b792e914c4fe0de1b40a231aef45bc060b28a0af45a67dc66acd36aef763c9
Release Process Note
patched_versions is pre-set to the planned next release (2026.2.26). Once npm release 2026.2.26 is published, this advisory can be published directly.
Thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Which OpenClaw versions are affected by CVE-2026-32055?
All versions up to and including 2026.2.25. The patched version is 2026.2.26.
- Can it overwrite existing files?
The advisory describes the first write to a non-existent leaf, so it creates a file outside the workspace. Existing targets are not what the bypass describes.
- Is there a workaround?
The sources list none. Upgrade, and avoid loading untrusted repositories with symlinks into an agent workspace until you have.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/security/advisories/GHSA-mgrq-9f93-wpp5
- https://github.com/openclaw/openclaw/commit/1aef45bc060b28a0af45a67dc66acd36aef763c9
- https://nvd.nist.gov/vuln/detail/CVE-2026-32055
- https://www.vulncheck.com/advisories/openclaw-workspace-path-boundary-bypass-via-non-existent-symlink
- https://github.com/advisories/GHSA-mgrq-9f93-wpp5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
