{"id":"CVE-2026-42427","published":"2026-04-28T18:10:16Z","modified":"2026-04-29T15:10:29Z","title":"OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00188,"percentile":0.08599,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-7437-7hg8-frrw","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-build-tool-environment-variable-injection","tags":["third-party-advisory"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.72},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.4.8"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.4.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-29T14:47:54.771084Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.4.8"],"patched":["2026.4.8"],"from":["GHSA-7437-7hg8-frrw"],"provenance":"source"}],"summary":{"text":"OpenClaw versions before 2026.4.8 contain a flaw in the product's environment variable handling, where the denylist omits HGRCPATH, CARGO_BUILD_RUSTC_WRAPPER, RUSTC_WRAPPER, and MAKEFLAGS, so build tool variables are not blocked. An attacker who can get one of these variables injected can influence host exec commands and run arbitrary code, but the attack requires local access (AV:L), high attack complexity, low privileges, and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:38Z"},"euvd":{"id":"EUVD-2026-26129","exploited":false,"provenance":"source"}}