7.0high
OpenClaw < 2026.4.29 - Arbitrary Package Manager Execution via Workspace .env npm_execpath
- Severity
- 7.0high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-24vr-rprv-67rf
Description
OpenClaw before 2026.4.29 contains a path traversal vulnerability in the install helper that allows workspace .env files to override the npm_execpath configuration used for bundled runtime dependency installation. Attackers with workspace access can execute unintended local package-manager executables during dependency setup to compromise the build environment.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.4.29, 2026.4.29 Not affected: 2026.4.29 | CVE List, NVD |
| openclaw (npm) | before 2026.4.29 | GitHub Advisory Database |
All scores
| VulnCheck | 7.0high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
OpenClaw before 2026.4.29 contains a path traversal vulnerability in the install helper that allows workspace .env files to override the npm_execpath configuration used for bundled runtime dependency installation. Attackers with workspace access can execute unintended local package-manager executables during dependency setup to compromise the build environment.
GitHub Advisory Database
Summary
Workspace .env npm_execpath could influence bundled runtime dependency install. In affected versions, a workspace .env in a repository opened by a trusted operator could override the package-manager executable path used by the install helper.
This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.
Impact
When the affected feature is enabled and reachable, this could run an unintended local package-manager executable during dependency setup. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.
Patched Versions
The first stable patched version is 2026.4.29.
Mitigations
install bundled runtime dependencies from trusted workspaces until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.
NVD (es)
OpenClaw anterior a 2026.4.29 contiene una vulnerabilidad de salto de ruta en el asistente de instalación que permite que los archivos .env del espacio de trabajo anulen la configuración de npm_execpath utilizada para la instalación de dependencias de tiempo de ejecución empaquetadas. Los atacantes con acceso al espacio de trabajo pueden ejecutar ejecutables de gestor de paquetes locales no deseados durante la configuración de dependencias para comprometer el entorno de compilación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53846 changed 2026-06-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-24vr-rprv-67rf changed 2026-06-18 | CC-BY-4.0 |
| NVD | CVE-2026-53846 changed 2026-10-25 | Public domain |