Vulnerability Description
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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openclaw | Openclaw | < 2026.4.8 |
Related Weaknesses (CWE)
References
- https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e8143Patch
- https://github.com/openclaw/openclaw/security/advisories/GHSA-7437-7hg8-frrwVendor Advisory
- https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-build-toThird Party Advisory
FAQ
What is CVE-2026-42427?
CVE-2026-42427 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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. A...
How severe is CVE-2026-42427?
CVE-2026-42427 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42427?
Check the references section above for vendor advisories and patch information. Affected products include: Openclaw Openclaw.