Skip to content

CVE-2026-41373 OpenClaw < 2026.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy

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

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm openclaw < 2026.3.31 2026.3.31 Fixed
npm openclaw(npm) < 2026.3.31; <= 2026.3.28 2026.3.31 Fixed
openclaw < 2026.3.31 2026.3.31 Fixed

Affected products

ProductAffected versionsFixed in
npm openclaw < 2026.3.31 2026.3.31
npm openclaw(npm) <= 2026.3.28 No fix listed
openclaw < 2026.3.31 2026.3.31
npm openclaw(npm) < 2026.3.31 2026.3.31

References