{"cve":"CVE-2026-41373","nvd":{"published":"2026-04-28T19:37:39.993","modified":"2026-06-17T10:46:36.523","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","score":5.8},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","score":6.1},"cwes":["CWE-427"],"references":["https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afa","https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9","https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variable-override-in-host-execution-policy"],"products":["openclaw:openclaw"],"source":"nvd","synced_at":"2026-10-19T22:33:09.003606135+00:00"},"epss":{"cve":"CVE-2026-41373","score":0.0013,"percentile":0.02623,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g8xp-qx39-9jq9","url":"https://osv.dev/vulnerability/GHSA-g8xp-qx39-9jq9","summary":"OpenClaw: Incomplete host-env-security-policy allows untrusted model to substitute compiler binaries via env overrides","modified":"2026-05-06T02:51:06.245996Z","packages":[{"ecosystem":"npm","name":"openclaw","purl":"pkg:npm/openclaw","ranges":["<2026.3.31"],"fixed":["2026.3.31"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}