Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-41373: OpenClaw environment override of compiler binaries during builds

Identifier
CVE-2026-41373
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

OpenClaw before 2026.3.31 ships an incomplete host-env-security-policy.json that does not restrict compiler binary environment variables. Untrusted models can override CC, CXX, CARGO_BUILD_RUSTC and CMAKE_C_COMPILER, which lets an attacker with an approved host-exec request run arbitrary code during build processes.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.