CVE-2026-42427CWE-184

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

Medium · published April 28, 2026

CVSS v4.0
5.8
EPSS
0%
Percentile
16.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.8 · 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
EPSS
0.00256 · 16.3th percentile
Weakness
CWE-184 · Incomplete List of Disallowed Inputs
Published
2026-04-28T18:10Z
EPSS history
Timeline
  • 28 APR 18:10Z
    OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection
    cvelistv5