Skip to content
HighVulnerability

GHSA-hr5v-j9h9-xjhg: OpenClaw has Sandbox Media Root Bypass via Unnormalized `mediaUrl` / `fileUrl` Parameter Keys (CWE-22)

Published
Record updated
View JSON
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.