Description
OpenClaw before 2026.3.8 contains a path traversal vulnerability in the skills download installer that validates the tools root lexically but reuses the mutable path during archive download and copy operations. A local attacker can rebind the tools-root path between validation and final write to redirect the installer outside the intended tools directory.
Problem types
Time-of-check Time-of-use (TOCTOU) Race Condition
Product status
Any version before 2026.3.8
2026.3.8 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-vhwf-4x96-vqx2 (GitHub Security Advisory (GHSA-vhwf-4x96-vqx2))
github.com/...ommit/9abf014f3502009faf9c73df5ca2cff719e54639 (Patch Commit)
www.vulncheck.com/...tools-root-rebinding-in-skills-download (VulnCheck Advisory: OpenClaw < 2026.3.8 - Path Traversal via Tools Root Rebinding in Skills Download)