Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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