CVE-2026-44995

OpenClaw < 2026.4.20 - Arbitrary Code Execution via MCP stdio Environment Variables

State
Published
Severity
5.4 Medium
Published
May 11, 2026
Updated
May 11, 2026
Reserved
May 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.4 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Affected Products

ProductVersions
OpenClawOpenClaw
  • before 2026.4.20Affected
  • 2026.4.20Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.