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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.3.28 | 2026.3.28 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.3.28 | 2026.3.28 | GHSA-f6pf-4gjx-c94r |
References
- GitHub Security Advisory (GHSA-f6pf-4gjx-c94r) vendor-advisory
- https://github.com/openclaw/openclaw/pull/54642 issue-tracking patch
- https://github.com/openclaw/openclaw/commit/4797bbc5b96e2cca5532e43b58915c051746fe37 patch
- https://www.vulncheck.com/advisories/openclaw-media-parsing-path-traversal-to-arbitrary-file-read third-party-advisory