Description
OpenClaw versions prior to 2026.2.22 contain a path traversal vulnerability in the static file handler that follows symbolic links, allowing out-of-root file reads. Attackers can place symlinks under the Control UI root directory to bypass directory confinement checks and read arbitrary files outside the intended root.
Problem types
CWE-59: Improper Link Resolution Before File Access ('Link Following')
Product status
Any version before 2026.2.22
2026.2.22 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-5ghc-98wh-gwwf (GitHub Security Advisory (GHSA-5ghc-98wh-gwwf))
github.com/...ommit/7c500ff6236fa087ec1ec88696ca9f6881e90dc5 (Patch Commit)
www.vulncheck.com/...ymlink-following-in-static-file-handler (VulnCheck Advisory: OpenClaw < 2026.2.22 - Arbitrary File Read via Symlink Following in Static File Handler)