GitHub Advisoryadvisory · npm
GHSA-57gh-m6rq-54cf OpenClaw: Self-Whitelisting in appendLocalMediaParentRoots Allows Arbitrary File Read & Credential Exfiltration
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- openclaw
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-552
- Reviewed
- 2026-04-03
Affected packages
• npm openclaw: < 2026.3.31 → fixed in 2026.3.31
Description
Summary
Media Local Roots Self-Whitelisting in `appendLocalMediaParentRoots` Allows Model-Initiated Arbitrary Host File Read and Credential Exfiltration
Current Maintainer Triage
• Status: narrow
• Normalized severity: medium
• Assessment: v2026.3.28 still self-whitelists media parent dirs in src/media/local-roots.ts, but only after config already permits tool-fs root expansion, so the impact is narrower than the default-critical framing.
Affected Packages / Versions
• Package: `openclaw` (npm)
• Latest published npm version: `2026.3.31`
• Vulnerable version range: `= 2026.3.31`
• First stable tag containing the fix: `v2026.3.31`
Fix Commit(s)
• `1ca4261d7e055d0be141ed79ebb1365d0fbc7364` — 2026-03-30T17:15:03+01:00
OpenClaw thanks @tdjackey for reporting.
Related
Weakness · CWE (1)
- CWE-552 Files or Directories Accessible to External Parties weakness