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.
References
Configurations
History
No history.
Information
Published : 2026-04-28 19:37
Updated : 2026-06-17 10:46
NVD link : CVE-2026-41373
Mitre link : CVE-2026-41373
CVE.ORG link : CVE-2026-41373
JSON object : View
Products Affected
openclaw
- openclaw
CWE
CWE-427
Uncontrolled Search Path Element
