CVE-2026-44995 PUBLISHED

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

Assigner: VulnCheck
Reserved: 08.05.2026 Published: 11.05.2026 Updated: 11.05.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 5.4

Product Status

Vendor OpenClaw
Product OpenClaw
Versions Default: unaffected
  • affected from 0 to 2026.4.20 (excl.)
  • Version 2026.4.20 is unaffected

Credits

  • Gus (@garagon) reporter

References

Problem Types

  • Inclusion of Functionality from Untrusted Control Sphere CWE