CVE-2026-41373

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

State
Published
Severity
5.8 Medium
Published
Apr 28, 2026
Updated
Apr 29, 2026
Reserved
Apr 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.8 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NVulnCheck

Weaknesses

  • CWE-427 Uncontrolled Search Path Element

Affected Products

ProductVersions
OpenClawOpenClaw
  • before 2026.3.31Affected
  • 2026.3.31Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.