← Database

CVE-2026-42427

MEDIUM CVSS: 5.3 Published: 2026-04-28 Modified: 2026-06-17

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.

Affected Platforms

Openclaw Openclaw

Weakness Type

CWE-184

References