Description
OpenClaw versions prior to 2026.2.24 contain a local media root bypass vulnerability in sendAttachment and setGroupIcon message actions when sandboxRoot is unset. Attackers can hydrate media from local absolute paths to read arbitrary host files accessible by the runtime user.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.2.24
Credits
Baozongwi'xd (@GCXWLP)
References
github.com/...enclaw/security/advisories/GHSA-fqcm-97m6-w7rm (GitHub Security Advisory (GHSA-fqcm-97m6-w7rm))
github.com/...ommit/270ab03e379f9653e15f7033c9830399b66b7e51 (Patch Commit)
www.vulncheck.com/...chment-and-setgroupicon-message-actions (VulnCheck Advisory: OpenClaw < 2026.2.24 - Arbitrary File Read via sendAttachment and setGroupIcon Message Actions)