Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-42427 EUVD-2026-26129GHSA-7437-7hg8-frrw

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

Published Apr 28, 2026 · Updated Apr 29, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
OpenClaw OpenClaw < 2026.4.8 2026.4.8

Affected packages

EcosystemPackageAffectedFixedRecord
npm openclaw < 2026.4.8 2026.4.8 GHSA-7437-7hg8-frrw

Advisories 1

References