{"id":"CVE-2026-41387","summary":"OpenClaw \u003c 2026.3.22 - Supply Chain Redirection via Incomplete Host Environment Sanitization","details":"OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.","aliases":["GHSA-j7p2-qcwm-94v4"],"modified":"2026-07-08T08:13:12.862619728Z","published":"2026-04-28T18:09:49.570Z","database_specific":{"cwe_ids":["CWE-183"],"cna_assigner":"VulnCheck","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41387.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41387.json"},{"type":"ADVISORY","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-j7p2-qcwm-94v4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41387"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openclaw-supply-chain-redirection-via-incomplete-host-environment-sanitization"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openclaw/openclaw","events":[{"introduced":"0"},{"fixed":"e7d11f6c33e223a0dd8a21cfe01076bd76cef87a"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"extracted_events":[{"introduced":"0"},{"fixed":"2026.3.22"}],"cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"}}],"versions":["v2026.3.22-beta.1","v2026.3.13-1","v2026.3.13","v2026.3.12","v2026.3.11","v2026.3.11-beta.1","v2026.3.8","v2026.3.8-beta.1","v2026.3.7","v2026.3.7-beta.1","v2026.3.2-beta.1","v2026.3.2","v2026.3.1","v2026.2.26","v2026.2.26-beta.1","v2026.2.25","v2026.2.25-beta.1","v2026.2.24","v2026.2.24-beta.1","v2026.2.23","v2026.2.23-beta.1","v2026.2.22","v2026.2.22-beta.1","v2026.2.21","v2026.2.21-beta.1","v2026.2.19-beta.1","v2026.2.19","v2026.2.17","v2026.2.15-beta.1","v2026.2.14","v2026.2.13","v2026.2.12","v2026.2.9","v2026.2.6-3","v2026.2.6-2","v2026.2.6-1","v2026.2.6","v2026.2.3","v2026.2.2","v2026.2.1","v2026.1.30","v2026.1.29","v2026.1.24-1","v2026.1.24","v2026.1.23","v2026.1.22","v2026.1.21","v2026.1.20","v2026.1.16-2","v2026.1.15","v2026.1.14-1","v2026.1.13","v2026.1.12-2","v2026.1.12","v2026.1.11-3","v2026.1.11-2","v2026.1.11-1","v2026.1.11","v2026.1.10","v2026.1.9","v2026.1.8","v2026.1.5-3","v2026.1.5-2","v2026.1.5-1","v2026.1.5","v2.0.0-beta5","v2.0.0-beta4","v2.0.0-beta3","v2.0.0-beta2","v2.0.0-beta1","v1.3.0","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41387.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}