Description
OpenClaw versions prior to 2026.2.24 contain a path traversal vulnerability where @-prefixed absolute paths bypass workspace-only file-system boundary validation due to canonicalization mismatch. Attackers can exploit this by crafting @-prefixed paths like @/etc/passwd to read files outside the intended workspace boundary when tools.fs.workspaceOnly is enabled.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.2.24
2026.2.24 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-27cr-4p5m-74rj (GitHub Security Advisory (GHSA-27cr-4p5m-74rj))
github.com/...ommit/9ef0fc2ff8fa7b145d1e746d6eb030b1bf692260 (Patch Commit)
www.vulncheck.com/...-paths-in-workspace-boundary-validation (VulnCheck Advisory: OpenClaw < 2026.2.24 - Path Traversal via @-prefixed Absolute Paths in Workspace Boundary Validation)