Description
OpenClaw versions prior to 2026.2.14 fail to validate TAR archive entry paths during extraction, allowing path traversal sequences to write files outside the intended directory. Attackers can craft malicious archives with traversal sequences like ../../ to write files outside extraction boundaries, potentially enabling configuration tampering and code execution.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.2.14
Credits
XueMian (ICT.RUN) (@xuemian168)
Shangzhi-Xu (@ShangzhiXu)
References
github.com/...enclaw/security/advisories/GHSA-p25h-9q54-ffvw (GitHub Security Advisory (GHSA-p25h-9q54-ffvw))
github.com/...ommit/3aa94afcfd12104c683c9cad81faf434d0dadf87 (Patch Commit)
www.vulncheck.com/...ath-traversal-in-tar-archive-extraction (VulnCheck Advisory: OpenClaw < 2026.2.14 - Zip Slip Path Traversal in TAR Archive Extraction)