{"id":"CVE-2026-41373","published":"2026-04-28T18:09:36Z","modified":"2026-04-29T12:20:13Z","title":"OpenClaw < 2026.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0013,"percentile":0.02719,"provenance":"source"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afa","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variable-override-in-host-execution-policy","tags":["third-party-advisory"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":0.54},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.3.31"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.3.31"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-29T12:20:04.990561Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.3.31"],"patched":["2026.3.31"],"from":["GHSA-g8xp-qx39-9jq9"],"provenance":"source"}],"summary":{"text":"OpenClaw before 2026.3.31 has an incomplete host environment security policy (host-env-security-policy.json) that does not restrict compiler binary environment variables such as CC, CXX, CARGO_BUILD_RUSTC, and CMAKE_C_COMPILER, so untrusted models can substitute them. An attacker who already has an approved host-exec request, with local access and low privileges, can override these compiler variables to run arbitrary code during build processes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:21Z"},"euvd":{"id":"EUVD-2026-26082","exploited":false,"provenance":"source"}}