Vulnerability in Openclaw
CVE-2026-41373
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.001, 2.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openclaw — versions 0, 2026.3.31
Weakness classification (CWE)
References
- github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9 (vendor-advisory, Vendor Advisory)
- github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afa (Patch, patch)
- www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environm… (Third Party Advisory, third-party-advisory)