{"id":"CVE-2026-41366","aliases":["CVE-2026-41366","GHSA-57gh-m6rq-54cf"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.3.31 - Arbitrary Host File Read via appendLocalMediaParentRoots Self-Whitelisting","summary":"OpenClaw before 2026.3.31 contains a local roots self-whitelisting vulnerability in appendLocalMediaParentRoots that allows model-initiated arbitrary host file read. Attackers can exploit improper media parent directory validation to exfiltrate credentials and access sensitive files.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.3.31 contains a local roots self-whitelisting vulnerability in appendLocalMediaParentRoots that allows model-initiated arbitrary host file read. Attackers can exploit improper media parent directory validation to exfiltrate credentials and access sensitive files.","source":"cvelist"},{"lang":"en","text":"## Summary\nMedia Local Roots Self-Whitelisting in `appendLocalMediaParentRoots` Allows Model-Initiated Arbitrary Host File Read and Credential Exfiltration\n\n## Current Maintainer Triage\n- Status: narrow\n- Normalized severity: medium\n- 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.\n\n## Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Latest published npm version: `2026.3.31`\n- Vulnerable version range: `<=2026.3.28`\n- Patched versions: `>= 2026.3.31`\n- First stable tag containing the fix: `v2026.3.31`\n\n## Fix Commit(s)\n- `1ca4261d7e055d0be141ed79ebb1365d0fbc7364` — 2026-03-30T17:15:03+01:00\n\nOpenClaw thanks @tdjackey for reporting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.3.31 contiene una vulnerabilidad de auto-inclusión en lista blanca de raíces locales en appendLocalMediaParentRoots que permite la lectura arbitraria de archivos del host iniciada por el modelo. Los atacantes pueden explotar la validación incorrecta del directorio padre de medios para exfiltrar credenciales y acceder a archivos sensibles.","source":"nvd"}],"published":"2026-04-03T02:53:58.000Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"}],"cwes":["CWE-552","CWE-732"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.3.31","status":"affected"},{"type":"semver","version":"2026.3.31","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.3.31"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.3.31"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-57gh-m6rq-54cf","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/1ca4261d7e055d0be141ed79ebb1365d0fbc7364","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-host-file-read-via-appendlocalmediaparentroots-self-whitelisting","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["tdjackey"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-28T14:44:36.606Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41366","url":"https://www.cve.org/CVERecord?id=CVE-2026-41366","licence":"CVE Terms of Use","modified":"2026-04-28T14:45:38.710Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-57gh-m6rq-54cf","url":"https://github.com/advisories/GHSA-57gh-m6rq-54cf","licence":"CC-BY-4.0","modified":"2026-07-08T08:12:30.626Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41366","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41366","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:19.819Z","epss":{"score":0.00188,"percentile":0.08775,"date":"2026-12-02T12:00:21.000Z"}}