Description
OpenClaw before 2026.3.28 contains a path traversal vulnerability in media parsing that allows attackers to read arbitrary files by bypassing path validation in the isLikelyLocalPath() and isValidMedia() functions. Attackers can exploit incomplete validation and the allowBareFilename bypass to reference files outside the intended application sandbox, resulting in disclosure of sensitive information including system files, environment files, and SSH keys.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.3.28
2026.3.28 (semver)
Credits
Zhijie Zhang
VulnCheck
References
github.com/openclaw/openclaw/pull/54642
github.com/...enclaw/security/advisories/GHSA-f6pf-4gjx-c94r
github.com/openclaw/openclaw/pull/54642
github.com/...ommit/4797bbc5b96e2cca5532e43b58915c051746fe37
www.vulncheck.com/...g-path-traversal-to-arbitrary-file-read