CVE-2026-43531
JSON

7.0high

OpenClaw < 2026.4.9 - Environment Variable Injection via Workspace .env File

Severity
7.0high CVSS:4.0 by VulnCheck
Exploit likelihood
0.35% (higher than 21% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-7wv4-cc7p-jhxc

Description

OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.

Affected

Product or packageVersionsReported by
OpenClaw OpenClawbefore 2026.4.9
Not affected: 2026.4.9
CVE List, NVD
openclaw (npm)before 2026.4.9GitHub Advisory Database

All scores

VulnCheck7.0high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
GitHub8.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-15

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.

GitHub Advisory Database

Summary

Workspace .env could inject OpenClaw runtime-control variables.

Affected Packages / Versions

  • Package: openclaw
  • Ecosystem: npm
  • Affected versions: < 2026.4.9
  • Patched versions: >= 2026.4.9

Impact

A malicious workspace .env file could set OpenClaw runtime-control variables affecting update sources, gateway URLs, ClawHub resolution, browser executable paths, and related behavior.

Technical Details

The fix blocks OpenClaw runtime-control keys and key families from workspace .env loading.

Fix

The issue was fixed in #62660. The first stable tag containing the fix is v2026.4.9, and openclaw@2026.4.14 includes the fix.

Fix Commit(s)

  • dbfcef319618158fa40b31cdac386ea34c392c0c
  • PR: #62660

Release Process Note

Users should upgrade to openclaw 2026.4.9 or newer. The latest npm release, 2026.4.14, already includes the fix.

Credits

Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab for reporting this issue.

NVD (es)

OpenClaw anterior a 2026.4.9 contiene una vulnerabilidad de inyección de variables de entorno que permite a archivos .env de espacio de trabajo maliciosos establecer variables de control en tiempo de ejecución. Los atacantes pueden inyectar variables que afectan a las fuentes de actualización, las URL de la pasarela, la resolución de ClawHub y las rutas de los ejecutables del navegador para comprometer el comportamiento de la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43531 changed 2026-05-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-7wv4-cc7p-jhxc changed 2026-05-08CC-BY-4.0
NVDCVE-2026-43531 changed 2026-11-11Public domain