8.5high
OpenClaw < 2026.4.20 - Environment Variable Namespace Collision via Workspace dotenv
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-hxvm-xjvf-93f3
Description
OpenClaw before 2026.4.20 fails to properly reserve the OPENCLAW_ runtime-control environment namespace in workspace dotenv files, allowing attackers to override critical runtime variables. Malicious workspaces can set variables like OPENCLAW_GIT_DIR to manipulate trusted OpenClaw runtime behavior during source-update or installer flows.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.4.20 Not affected: 2026.4.20 | CVE List, NVD |
| openclaw (npm) | before 2026.4.20 | GitHub Advisory Database |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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.20 fails to properly reserve the OPENCLAW_ runtime-control environment namespace in workspace dotenv files, allowing attackers to override critical runtime variables. Malicious workspaces can set variables like OPENCLAW_GIT_DIR to manipulate trusted OpenClaw runtime behavior during source-update or installer flows.
GitHub Advisory Database
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
< 2026.4.20 - Patched version:
2026.4.20
Impact
Workspace .env loading did not reserve the OPENCLAW_ runtime-control namespace broadly enough. A malicious workspace could set variables such as OPENCLAW_GIT_DIR before source-update or installer flows, potentially steering trusted OpenClaw runtime behavior.
This requires running OpenClaw from an attacker-controlled workspace. Severity is medium.
Fix
OpenClaw now reserves the workspace OPENCLAW_ environment namespace and rejects workspace dotenv entries for OpenClaw runtime-control variables.
Fix commit:
018494fa3ebb9145112e68b56fe1cb2e9f9a9ed6
Release
Fixed in OpenClaw 2026.4.20.
NVD (es)
OpenClaw anterior a 2026.4.20 no logra reservar correctamente el espacio de nombres del entorno de control en tiempo de ejecución OPENCLAW_ en los archivos dotenv del espacio de trabajo, permitiendo a los atacantes sobrescribir variables críticas en tiempo de ejecución. Espacios de trabajo maliciosos pueden establecer variables como OPENCLAW_GIT_DIR para manipular el comportamiento de tiempo de ejecución confiable de OpenClaw durante los flujos de actualización de código fuente o de instalación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44114 changed 2026-09-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hxvm-xjvf-93f3 changed 2026-05-12 | CC-BY-4.0 |
| NVD | CVE-2026-44114 changed 2026-11-11 | Public domain |