OpenClaw vulnerable to arbitrary file read via $include directive
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | openclaw | < 2026.2.17 | 2026.2.17 |
Referencias
- https://github.com/openclaw/openclaw/security/advisories/GHSA-56pc-6hvp-4gv4
- https://nvd.nist.gov/vuln/detail/CVE-2026-32061
- https://github.com/openclaw/openclaw/commit/d1c00dbb7c64a39e205464dae7f2a068420e91c1
- https://github.com/openclaw/openclaw
- https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-include-directive-path-traversal
- Vector CVSS
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N- Debilidad (CWE)
CWE-22- Plataforma
- npm
- Paquete
openclaw- Publicada
- 03.03.2026
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-56pc-6hvp-4gv4 - CC BY 4.0
Historial de vulnerabilidades: openclaw
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 588
- Primera → última
- 02.2026 07.2026
- Sin corrección
- 9
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 20
- Alta 215
- Media 299
- Baja 54
Divulgaciones por año
- 2026: 588
-
OpenClaw vulnerable to arbitrary file read via $include directive esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.