6.7medium
OpenClaw < 2026.2.17 - Arbitrary File Read via $include Directive Path Traversal
- Severity
- 6.7medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.21% (higher than 6% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-56pc-6hvp-4gv4
Description
OpenClaw versions prior to 2026.2.17 contain a path traversal vulnerability in the $include directive resolution that allows reading arbitrary local files outside the config directory boundary. Attackers with config modification capabilities can exploit this by specifying absolute paths, traversal sequences, or symlinks to access sensitive files readable by the OpenClaw process user, including API keys and credentials.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openclaw openclaw | before 2026.2.17 Not affected: 2026.2.17 | CVE List, NVD |
| openclaw (npm) | before 2026.2.17 | GitHub Advisory Database |
All scores
| VulnCheck | 6.7medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
OpenClaw versions prior to 2026.2.17 contain a path traversal vulnerability in the $include directive resolution that allows reading arbitrary local files outside the config directory boundary. Attackers with config modification capabilities can exploit this by specifying absolute paths, traversal sequences, or symlinks to access sensitive files readable by the OpenClaw process user, including API keys and credentials.
GitHub Advisory Database
Vulnerability
Path traversal in config $include resolution allowed arbitrary local file reads outside the config directory boundary (CWE-22).
Attack Vectors
- If an attacker can modify OpenClaw config, they can set
$includeto absolute paths (for example/etc/passwd) and read files accessible to the OpenClaw process. - If an attacker can modify OpenClaw config, they can use traversal paths (for example
../../...) to escape the config directory. - If an attacker can create symlinks inside the config directory, they can point includes to external files unless real-path checks are enforced.
- Impact scope is bounded by the file permissions of the OpenClaw runtime user; this is not an unauthenticated remote-only vector by itself.
Impact
A successful exploit can expose local secrets and credentials readable by the OpenClaw process user, including API keys and private config material.
Affected Packages / Versions
- Package:
openclaw(npm) - Vulnerable versions:
<=2026.2.15 - Patched versions:
>=2026.2.17
Fix Commit(s)
d1c00dbb7c64a39e205464dae7f2a068420e91c1
Release Process Note
Patched version is pre-set to 2026.2.17. Once npm release 2026.2.17 is available, this advisory is ready to publish.
OpenClaw thanks @aether-ai-agent for reporting.
NVD (es)
Las versiones de OpenClaw anteriores a la 2026.2.17 contienen una vulnerabilidad de salto de ruta en la resolución de la directiva $include que permite la lectura de archivos locales arbitrarios fuera del límite del directorio de configuración. Atacantes con capacidades de modificación de configuración pueden explotar esto especificando rutas absolutas, secuencias de salto de ruta o enlaces simbólicos para acceder a archivos sensibles legibles por el usuario del proceso de OpenClaw, incluyendo claves de API y credenciales.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32061 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-56pc-6hvp-4gv4 changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2026-32061 changed 2026-06-17 | Public domain |