# CVE-2026-41332: CVE-2026-41332

Status: published. Published: 2026-04-23. Updated: 2026-11-11.

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.

## Remediation

- fix: openclaw (npm): OSV reports a fixed version 2026.3.28. Check the advisory for supported release branches. (source: OSV GHSA-m866-6qv5-p2fg) — https://github.com/advisories/GHSA-m866-6qv5-p2fg

## Affected products and versions

- openclaw / openclaw: < 2026.3.28 (affected, custom). Source: NVD
-  / openclaw (openclaw): ≥ 0; < 2026.3.28 (affected, semver); OSV events: introduced 0; fixed 2026.3.28. Source: OSV GHSA-m866-6qv5-p2fg

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*",
            "versionEndExcluding": "2026.3.28",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; source: NVD: disclosure@vulncheck.com

- 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; source: NVD: disclosure@vulncheck.com

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation none; automatable no; technical impact partial; source NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0

- Weaknesses: CWE-184

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/openclaw/openclaw/security/advisories/GHSA-m866-6qv5-p2fg (disclosure@vulncheck.com; Vendor Advisory)

- https://www.vulncheck.com/advisories/openclaw-code-execution-via-missing-environment-variable-blocklist (disclosure@vulncheck.com; Third Party Advisory)

- https://github.com/advisories/GHSA-m866-6qv5-p2fg (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-m866-6qv5-p2fg (OSV / GitHub Security Advisories; osv)

## Provenance

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41332; retrieved 2026-11-12; source updated 2026-11-11

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-m866-6qv5-p2fg; retrieved 2026-11-12; source updated 2026-05-06

Revision: 19a2242b6d13f7f7d817da3dfc29414819c39c455ed428aeedf3fc89ac562485

Canonical: https://y2.dev/cve/CVE-2026-41332

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.