{"cve":"CVE-2026-41332","nvd":{"published":"2026-04-23T22:16:38.907","modified":"2026-06-17T10:46:31.520","status":"Analyzed","description":"OpenClaw before 2026.3.28 contains an environment variable sanitization vulnerability where GIT_TEMPLATE_DIR and AWS_CONFIG_FILE are not blocked in the host-env blocklist. Attackers can exploit approved exec requests to redirect git or AWS CLI behavior through attacker-controlled configuration files to execute untrusted code or load malicious credentials.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:H/AT:N/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:H/PR:L/UI:N/S:U/C:L/I:H/A:N","score":5.3},"cwes":["CWE-184"],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-m866-6qv5-p2fg","https://www.vulncheck.com/advisories/openclaw-code-execution-via-missing-environment-variable-blocklist"],"products":["openclaw:openclaw"],"source":"nvd","synced_at":"2026-10-19T22:33:09.003606135+00:00"},"epss":{"cve":"CVE-2026-41332","score":0.00105,"percentile":0.01066,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m866-6qv5-p2fg","url":"https://osv.dev/vulnerability/GHSA-m866-6qv5-p2fg","summary":"OpenClaw host-env blocklist missing `GIT_TEMPLATE_DIR` and `AWS_CONFIG_FILE` allows code execution via env override","modified":"2026-05-06T23:41:29.549594Z","packages":[{"ecosystem":"npm","name":"openclaw","purl":"pkg:npm/openclaw","ranges":["<2026.3.28"],"fixed":["2026.3.28"]}]}],"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."]}