# CVE-2026-41332: OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-03-31T23:57:00.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-m866-6qv5-p2fg
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.3.28 (not affected: 2026.3.28)
- openclaw (npm): before 2026.3.28

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-m866-6qv5-p2fg> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openclaw-code-execution-via-missing-environment-variable-blocklist> (third-party-advisory, web)
- <https://github.com/openclaw/openclaw/commit/6eb82fba3cbfd0e50b179c1fada92e1e22dce7fa> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-41332](https://www.cve.org/CVERecord?id=CVE-2026-41332), CVE Terms of Use, modified 2026-04-24
- GitHub Advisory Database: [GHSA-m866-6qv5-p2fg](https://github.com/advisories/GHSA-m866-6qv5-p2fg), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-41332](https://nvd.nist.gov/vuln/detail/CVE-2026-41332), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41332 · Whole record: https://cve.day/CVE-2026-41332.json · Rebuilt by cve.day 2026-11-25T22:59:19.425Z
