Description
OpenClaw before 2026.4.15 contains an arbitrary local file read vulnerability in the webchat audio embedding helper that fails to apply local media root containment checks. Attackers can influence agent or tool-produced ReplyPayload.mediaUrl parameters to resolve absolute local paths or file URLs, read audio-like files, and embed them base64-encoded into webchat responses.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.4.15
2026.4.15 (semver)
Credits
zsx (@zsxsoft)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-gfg9-5357-hv4c (GitHub Security Advisory (GHSA-gfg9-5357-hv4c))
github.com/...ommit/6e58f1f9f54bca1fea1268ec0ee4c01a2af03dde (Patch Commit)
www.vulncheck.com/...l-file-read-via-webchat-audio-embedding (VulnCheck Advisory: OpenClaw < 2026.4.15 - Arbitrary Local File Read via Webchat Audio Embedding)