CVE-2026-44995 OpenClaw < 2026.4.20 - Arbitrary Code Execution via MCP stdio Environment Variables
MediumCVSS 5.4
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.4.20 | 2026.4.20 | Fixed |
| npm openclaw(npm) | < 2026.4.20 | 2026.4.20 | Fixed |
| openclaw | < 2026.4.20 | 2026.4.20 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.4.20 | 2026.4.20 |
| npm openclaw(npm) | < 2026.4.20 | 2026.4.20 |
| openclaw | < 2026.4.20 | 2026.4.20 |
References
- GitHub Security Advisory (GHSA-mj59-h3q9-ghfh) third-party-advisory vendor-advisory
- Patch Commit (1) patch
- Patch Commit (2) broken-link patch
- VulnCheck Advisory: OpenClaw < 2026.4.20 - Arbitrary Code Execution via MCP stdio Environment Variables patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product