CVE-2026-42427

OpenClaw before 2026.4.8 contains a remote code execution vulnerability caused by missing environment variable denylist entries for HGRCPATH, CARGO_BUILD_RUSTC_WRAPPER, RUSTC_WRAPPER, and MAKEFLAGS. Attackers can inject malicious build tool environment variables to influence host exec commands and achieve arbitrary code execution.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) OpenClaw anterior a 2026.4.8 contiene una vulnerabilidad de ejecución remota de código causada por la falta de entradas en la lista de denegación de variables de entorno para HGRCPATH, CARGO_BUILD_RUSTC_WRAPPER, RUSTC_WRAPPER y MAKEFLAGS. Los atacantes pueden inyectar variables de entorno maliciosas de herramientas de compilación para influir en los comandos exec del host y lograr la ejecución de código arbitrario.

30 Apr 2026, 14:05

Type Values Removed Values Added
References () https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5 - () https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5 - Patch
References () https://github.com/openclaw/openclaw/security/advisories/GHSA-7437-7hg8-frrw - () https://github.com/openclaw/openclaw/security/advisories/GHSA-7437-7hg8-frrw - Vendor Advisory
References () https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-build-tool-environment-variable-injection - () https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-build-tool-environment-variable-injection - Third Party Advisory
CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
First Time Openclaw openclaw
Openclaw

28 Apr 2026, 19:37

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-28 19:37

Updated : 2026-11-11 21:10


NVD link : CVE-2026-42427

Mitre link : CVE-2026-42427

CVE.ORG link : CVE-2026-42427


JSON object : View

Products Affected

openclaw

  • openclaw
CWE
CWE-184

Incomplete List of Disallowed Inputs