Vulnerability Explorer›CVE-2026-42427
VULNERABILITY
CVE-2026-42427
Common Vulnerabilities and Exposures record
MEDIUM
Summary
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.
Risk
- CVSS
- 5.8
- Severity
- MEDIUM
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Apr 28, 2026 19:37
- Modified
- Nov 11, 2026 21:10
- Last observed
- Nov 11, 2026 17:00
CWE
Affected product identifiers
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*