CVE-2026-41373

Medium

Description

OpenClaw before 2026.3.31 contains an incomplete host-env-security-policy.json that fails to restrict compiler binary environment variables, allowing untrusted models to substitute CC, CXX, CARGO_BUILD_RUSTC, and CMAKE_C_COMPILER via environment overrides. Attackers with approved host-exec requests can override compiler binaries to execute arbitrary code during build processes.

SeverityMedium
CVSS6.1
Exploit probability—
ProductOpenclaw
PublishedApr 28, 2026
First seenApr 28, 2026
Weakness typeCWE-427CWE-427

How to fix

Affected products

ProductAffected versionsFixed in
openclaw openclawv < 2026.3.312026.3.31
openclawnpmv < 2026.3.312026.3.31

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.