HighVulnerability
GHSA-hr5v-j9h9-xjhg: OpenClaw has Sandbox Media Root Bypass via Unnormalized `mediaUrl` / `fileUrl` Parameter Keys (CWE-22)
- Identifier
- GHSA-hr5v-j9h9-xjhg
- Published
- Record updated
- Affected
- openclaw < 2026.3.24
- Fixed in
- 2026.3.24
- released March 25, 2026, 5 days before disclosure
Summary
A path traversal flaw in OpenClaw's agent sandbox lets a sandboxed agent read files from other agents' workspaces. The normalizeSandboxMediaParams function in src/infra/outbound/message-action-params.ts only checks the media, path and filePath keys, so mediaUrl and fileUrl bypass sandbox validation. handlePluginAction in src/infra/outbound/message-action-runner.ts also omits mediaLocalRoots from the dispatch context, so plugins fall back to default roots that permit reads across the ~/.openclaw/ tree.
Mitigation
Fixed in OpenClaw 2026.3.24, the current shipping release.
Related items
- CriticalGHSA-9x8x-crjq-g64h: Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesSimilar attack · GitHub Advisory Database
- HighGHSA-24pw-rf5p-mgp7: Jupyter MCP Server: Unauthenticated management routes can hijack the Jupyter backend in standalone HTTP modeSimilar attack · GitHub Advisory Database
- HighGHSA-m932-63jc-4jqq: k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool executionSimilar attack · GitHub Advisory Database
- HighGHSA-3mgh-93r5-r7jf: CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCESimilar attack · GitHub Advisory Database
- HighGHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverSimilar attack · GitHub Advisory Database