Description
OpenClaw before 2026.3.24 contains a path traversal vulnerability in sandbox enforcement allowing sandboxed agents to read arbitrary files from other agents' workspaces via unnormalized mediaUrl or fileUrl parameter keys. Attackers can exploit incomplete parameter validation in normalizeSandboxMediaParams and missing mediaLocalRoots context to access sensitive files including API keys and configuration data outside designated sandbox roots.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 2026.3.24
2026.3.24 (semver)
Credits
Edward-x (@YLChen-007)
References
github.com/...enclaw/security/advisories/GHSA-hr5v-j9h9-xjhg (GitHub Security Advisory (GHSA-hr5v-j9h9-xjhg))
www.vulncheck.com/...malized-mediaurl-and-fileurl-parameters (VulnCheck Advisory: OpenClaw < 2026.3.24 - Sandbox Media Root Bypass via Unnormalized mediaUrl and fileUrl Parameters)