Medium severity5.3NVD Advisory· Published Apr 28, 2026· Updated Apr 30, 2026
CVE-2026-42427
CVE-2026-42427
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.4.8 | 2026.4.8 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5nvdPatchWEB
- github.com/advisories/GHSA-7437-7hg8-frrwghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-7437-7hg8-frrwnvdVendor AdvisoryWEB
- www.vulncheck.com/advisories/openclaw-remote-code-execution-via-build-tool-environment-variable-injectionnvdThird Party Advisory
News mentions
0No linked articles in our index yet.