Description
OpenClaw versions prior to 2026.2.26 contain a path traversal vulnerability in workspace boundary validation that allows attackers to write files outside the workspace through in-workspace symlinks pointing to non-existent out-of-root targets. The vulnerability exists because the boundary check improperly resolves aliases, permitting the first write operation to escape the workspace boundary and create files in arbitrary locations.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.2.26
2026.2.26 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-mgrq-9f93-wpp5 (GitHub Security Advisory (GHSA-mgrq-9f93-wpp5))
github.com/...ommit/46eba86b45e9db05b7b792e914c4fe0de1b40a23 (Patch Commit #1)
github.com/...ommit/1aef45bc060b28a0af45a67dc66acd36aef763c9 (Patch Commit #2)
www.vulncheck.com/...oundary-bypass-via-non-existent-symlink (VulnCheck Advisory: OpenClaw < 2026.2.26 - Workspace Path Boundary Bypass via Non-existent Symlink)