CVE-2026-42427mediumCWE-184

CVE-2026-42427: medium-severity vulnerability in OpenClaw

OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection

Published · Updated

13Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 5.8epss 0.3%
exploitation probability
0.3%top 84% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Affected products
OpenClaw · OpenClaw