{"id":"GHSA-56pc-6hvp-4gv4","summary":"OpenClaw vulnerable to arbitrary file read via $include directive","details":"## Vulnerability\n\nPath traversal in config `$include` resolution allowed arbitrary local file reads outside the config directory boundary (CWE-22).\n\n### Attack Vectors\n\n1. If an attacker can modify OpenClaw config, they can set `$include` to absolute paths (for example `/etc/passwd`) and read files accessible to the OpenClaw process.\n2. If an attacker can modify OpenClaw config, they can use traversal paths (for example `../../...`) to escape the config directory.\n3. If an attacker can create symlinks inside the config directory, they can point includes to external files unless real-path checks are enforced.\n4. Impact scope is bounded by the file permissions of the OpenClaw runtime user; this is not an unauthenticated remote-only vector by itself.\n\n## Impact\n\nA successful exploit can expose local secrets and credentials readable by the OpenClaw process user, including API keys and private config material.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Vulnerable versions: `\u003c=2026.2.15`\n- Patched versions: `\u003e=2026.2.17`\n\n## Fix Commit(s)\n\n- `d1c00dbb7c64a39e205464dae7f2a068420e91c1`\n\n## Release Process Note\n\nPatched version is pre-set to `2026.2.17`. Once npm release `2026.2.17` is available, this advisory is ready to publish.\n\nOpenClaw thanks @aether-ai-agent for reporting.","aliases":["CVE-2026-32061"],"modified":"2026-03-13T10:56:25.007191Z","published":"2026-03-03T19:57:23Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-03-03T19:57:23Z","nvd_published_at":"2026-03-11T14:16:28Z"},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-56pc-6hvp-4gv4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32061"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/d1c00dbb7c64a39e205464dae7f2a068420e91c1"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-include-directive-path-traversal"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.2.17"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-56pc-6hvp-4gv4/GHSA-56pc-6hvp-4gv4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}