CVE-2026-42427

published 28 Apr 2026 · updated 11 Nov 2026

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

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2026.4.8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenClawopenclaw<2026.4.82026.4.8
OpenClaw<2026.4.82026.4.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42427 severity on Zeptric[![CVE-2026-42427](https://zeptric.io/badge/cve/CVE-2026-42427.svg)](https://zeptric.io/cve/CVE-2026-42427)