{"id":"GHSA-g8xp-qx39-9jq9","summary":"OpenClaw: Incomplete host-env-security-policy allows untrusted model to substitute compiler binaries via env overrides","details":"## Summary\nIncomplete `host-env-security-policy.json` allows untrusted model to substitute compiler binaries (`CC`, `CXX`, `CARGO_BUILD_RUSTC`, `CMAKE_C_COMPILER`) via env overrides on approved host exec requests\n\n## Current Maintainer Triage\n- Status: narrow\n- Normalized severity: medium\n- Assessment: Shipped v2026.3.28 host-env policy missed compiler override vars, but exploitation still requires an approved host-exec request inside the existing exec trust domain, so medium not high.\n\n## Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Latest published npm version: `2026.3.31`\n- Vulnerable version range: `\u003c=2026.3.28`\n- Patched versions: `\u003e= 2026.3.31`\n- First stable tag containing the fix: `v2026.3.31`\n\n## Fix Commit(s)\n- `e277a37f896b5011a1df06e6490c6630074d0afa` — 2026-03-30T20:06:32+01:00\n\nOpenClaw thanks @tdjackey for reporting.","aliases":["CVE-2026-41373"],"modified":"2026-05-06T02:51:06.245996Z","published":"2026-04-03T03:00:51Z","database_specific":{"nvd_published_at":"2026-04-28T19:37:39Z","cwe_ids":["CWE-427"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-04-03T03:00:51Z"},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41373"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afa"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/releases/tag/v2026.3.31"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variable-override-in-host-execution-policy"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.3.31"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2026.3.28","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-g8xp-qx39-9jq9/GHSA-g8xp-qx39-9jq9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}