OpenClaw < 2026.4.20 - Arbitrary Code Execution via MCP stdio Environment Variables
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-829.
Summary
OpenClaw before 2026.4.20 contains an improper environment variable validation vulnerability in MCP stdio server configuration that allows attackers to execute arbitrary code. Malicious workspace configurations can pass dangerous startup variables like NODE_OPTIONS, LD_PRELOAD, or BASH_ENV to spawned MCP server processes, enabling code injection when operators start sessions using those servers.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
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.4.20 | 2026.4.20 | Patch available | CNA |
| — | openclaw (npm) | before 2026.4.20 | 2026.4.20 | Patch available | GHSA-mj59-h3q9-ghfh |
- OpenClaw VendorOpenClaw Affected before 2026.4.20 Fixed in 2026.4.20 Patch available CNA
- openclaw (npm) Vendor— Affected before 2026.4.20 Fixed in 2026.4.20 Patch available GHSA-mj59-h3q9-ghfh
Remediation
- Fix · CNA OpenClaw (OpenClaw) Fixed in 2026.4.20
- Fix · GHSA-mj59-h3q9-ghfh openclaw (npm) Fixed in 2026.4.20 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
OpenClaw 2026.4.20
8 records Highest priority Priority LOW 8 LOW
Other records, highest priority first
- TI-2026-32860 OpenClaw < 2026.4.20 - Hook Session-Key Bypass via Template MappingPriority LOW 34
- TI-2026-32857 OpenClaw < 2026.4.20 - Improper Trust Labeling in Isolated Cron Awareness EventsPriority LOW 33
- TI-2026-32859 OpenClaw < 2026.4.20 - Gateway Config Mutation Guard Bypass via Agent Tool AccessPriority LOW 26
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44995
- 2026-10-03 Alias added: GHSA-mj59-h3q9-ghfh
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-44995 · CVE Program
- CVE-2026-44995 · NVD
- FIRST EPSS
- GHSA-mj59-h3q9-ghfh · 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