Skip to content

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

MediumCVSS 5.8 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm openclaw < 2026.4.8 2026.4.8 Fixed
npm openclaw(npm) < 2026.4.8 2026.4.8 Fixed
openclaw < 2026.4.8 2026.4.8 Fixed

Affected products

ProductAffected versionsFixed in
npm openclaw < 2026.4.8 2026.4.8
npm openclaw(npm) < 2026.4.8 2026.4.8
openclaw < 2026.4.8 2026.4.8

References