OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenClaw | OpenClaw | before 2026.3.28 | 2026.3.28 | Patch available | CNA |
| — | openclaw (npm) | before 2026.3.28 | 2026.3.28 | Patch available | GHSA-m866-6qv5-p2fg |
- OpenClaw VendorOpenClaw Affected before 2026.3.28 Fixed in 2026.3.28 Patch available CNA
- openclaw (npm) Vendor— Affected before 2026.3.28 Fixed in 2026.3.28 Patch available GHSA-m866-6qv5-p2fg
Remediation
- Fix · CNA OpenClaw (OpenClaw) Fixed in 2026.3.28
- Fix · GHSA-m866-6qv5-p2fg openclaw (npm) Fixed in 2026.3.28 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
OpenClaw 2026.3.28
7 records Highest priority Priority MEDIUM 1 MEDIUM, 6 LOW
Other records, highest priority first
- TI-2026-29950 OpenClaw < 2026.3.28 - Agentic Consent Bypass via config.patchPriority MEDIUM 40
- TI-2026-29943 OpenClaw < 2026.3.28 - Unauthenticated Discovery Endpoint Credential Exfiltration via Remote OnboardingPriority LOW 33
- TI-2026-29960 OpenClaw < 2026.3.28 - Privilege Escalation via operator.write to Admin-Class Telegram Config and Cron PersistencePriority LOW 31
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41332
- 2026-10-03 Alias added: GHSA-m866-6qv5-p2fg
References
More Openclaw vulnerabilities
- TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
- TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
- TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
- TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
- TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
- TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
Sources
- CVE-2026-41332 · CVE Program
- CVE-2026-41332 · NVD
- FIRST EPSS
- GHSA-m866-6qv5-p2fg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences