CVE-2026-41332
CVE-2026-41332
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.
Fixes and workarounds
Fix
openclaw (npm): OSV reports a fixed version 2026.3.28. Check the advisory for supported release branches.
Source: OSV GHSA-m866-6qv5-p2fgAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| openclaw openclaw |
< 2026.3.28 (affected, custom) | NVD |
openclawopenclaw
npm |
≥ 0; < 2026.3.28 (affected, semver); OSV events: introduced 0; fixed 2026.3.28Source events (semver)
Other versions: unaffected |
OSV GHSA-m866-6qv5-p2fg |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (1)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"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"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 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 | NVD: [email protected] |
| 3.1 / 5.3 medium |
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N | NVD: [email protected] |
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[email protected] · Vendor Advisory
- https://www.vulncheck.com/advisories/openclaw-code-execution-via-missing-environment-variable-blocklist[email protected] · Third Party Advisory
- https://github.com/advisories/GHSA-m866-6qv5-p2fgOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-m866-6qv5-p2fgOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.