← CVE Intelligence

CVE-2026-41373

OpenClaw < 2026.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
OpenClaw / OpenClawaffected 0 before 2026.3.31; unaffected 2026.3.31

CWE

CWE-427

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.