Skip to main content

OpenClaw CVE-2026-44995

| EUVDEUVD-2026-29140 MEDIUM
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-05-11 VulnCheck GHSA-p3m6-jr2h-hhxj
5.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious workspace config
  2. Delivery
    User opens workspace in OpenClaw
  3. Exploit
    User starts MCP session
  4. Execution
    Spawn server with injected env vars
  5. Impact
    Execute attacker code as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Requires attacker-controlled workspace configuration file containing MCP stdio server definition with malicious env entries (NODE_OPTIONS, LD_PRELOAD, BASH_ENV, or similar process-startup variables). Victim must be a low-privileged authenticated user (PR:L) who opens the malicious workspace in OpenClaw and manually starts a session using the configured MCP server (UI:R user interaction required). Attack is local (AV:L) - attacker must deliver the malicious workspace configuration to the target system, typically via repository clone, file share, or supplied project template. Exploitation limited to environments where users run OpenClaw against untrusted or unreviewed workspace configurations. Does NOT affect: users who only run OpenClaw with internally developed/reviewed configurations, environments where workspace configs are centrally managed and validated, or systems running patched version 2026.4.20+. The vulnerability cannot be exploited remotely without first achieving workspace configuration write access through separate means.

Impact

Real-world exploitation risk is moderate despite the 7.3 CVSS score. The CVSS vector (AV:L/AC:L/PR:L/UI:R) reveals critical limiting factors: attack requires local access, low-privilege authenticated user, AND user interaction (operator must actively open the malicious workspace and start an MCP session). This is not a remote wormable vulnerability. No EPSS score provided in input data, but the attack prerequisites suggest low probability of mass exploitation - this requires social engineering or supply chain compromise to deliver malicious workspace configurations to target developers. CISA KEV status not present, and no public exploit code identified beyond the VulnCheck technical advisory, indicating no confirmed active exploitation. The scope is unchanged (S:U), meaning impact is confined to the vulnerable component rather than escalating to system-wide compromise. However, when conditions are met, impact is severe (C:H/I:H/A:H) - full code execution as the OpenClaw process user. Primary risk scenarios are malicious workspace repositories in open-source development, or targeted attacks against specific organizations using workspace configuration as initial access. The vendor's own GHSA advisory rates this 'medium, not high/critical' precisely because of the workspace trust boundary requirement. Defenders should prioritize this for developer workstations and CI/CD environments running OpenClaw against untrusted workspace sources, but it's not an immediate internet-facing emergency.

Exploit ScenarioDerived

Attacker creates a malicious Git repository containing legitimate-looking project files plus an OpenClaw workspace configuration (.openclaw/config.json) defining an MCP stdio server with env: {NODE_OPTIONS: '--require=/tmp/backdoor.js'} where backdoor.js contains data exfiltration or remote access code. Target developer clones the repository and opens it in OpenClaw. When the developer initiates a session that triggers the malicious MCP server, OpenClaw spawns the server process with the injected NODE_OPTIONS, causing Node.js to preload and execute the attacker's backdoor.js with the developer's privileges. No public proof-of-concept code confirmed, but attack technique is straightforward given the detailed VulnCheck advisory and GitHub commit diffs showing exact vulnerable code paths.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Remote code execution in OpenClaw npm package versions before 2026.4.20 allows local authenticated users to inject malicious code through MCP stdio server environment variables. Attackers craft workspace configurations containing dangerous environment variables (NODE_OPTIONS, LD_PRELOAD, BASH_ENV) that execute arbitrary code when operators start sessions using those MCP servers. Vendor-released patch available (version 2026.4.20). No public exploit code or active exploitation confirmed at time of analysis, though VulnCheck published detailed technical advisory. CVSS 7.3 reflects local attack vector requiring user interaction, limiting widespread exploitation risk despite high technical impact.

RemediationAI

Upgrade to OpenClaw version 2026.4.20 or later via npm package manager (npm update openclaw). Vendor-confirmed fix implemented in commits 62fa5071896e95edc7f67d1cebc70a2859e283af and 85d86ebc4bf3d2226d39d132a484f4f7a299fa1b, available at GitHub repository. For organizations unable to immediately upgrade: (1) Restrict OpenClaw usage to trusted workspace configurations only - implement code review for all .openclaw or MCP configuration files before execution, particularly env sections in stdio server definitions; (2) Run OpenClaw processes in sandboxed environments (containers, VMs) with restricted permissions to limit code execution impact - note this reduces lateral movement risk but does not prevent initial compromise within the sandbox; (3) Monitor spawned MCP server processes for suspicious environment variables (NODE_OPTIONS, LD_PRELOAD, BASH_ENV, DYLD_INSERT_LIBRARIES) using process auditing tools - creates detection capability but allows initial execution. All workarounds have operational overhead and do not provide equivalent security to patching. Advisory and patch details: https://github.com/openclaw/openclaw/security/advisories/GHSA-mj59-h3q9-ghfh.

Affected VersionsENISA

OpenClaw 0 <2026.4.20

Affected Packages

npm openclaw fix: 2026.4.20

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in OpenClaw's Model Context Protocol (MCP) stdio server configuration handling, specifically in the mcp-config-shared.ts and mcp-stdio.ts modules. MCP servers are child processes spawned by OpenClaw to provide extended capabilities. The affected code failed to validate environment variables passed from workspace configuration files before spawning these child processes. This allows injection of process-startup environment variables that control runtime behavior across multiple interpreters: NODE_OPTIONS (Node.js runtime flags enabling require preloads), LD_PRELOAD (Linux dynamic linker library injection), and BASH_ENV (shell initialization scripts). The root cause is CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) - the application trusted workspace configuration data to define the execution environment of privileged child processes without sanitization. The patch introduces toMcpEnvRecord() function that filters environment entries through isDangerousHostEnvVarName() and isDangerousHostEnvOverrideVarName() denylists before process spawning, while preserving the original toMcpStringRecord() for non-environment use cases like HTTP headers.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.4 MEDIUM
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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
May 11, 2026 - 18:22 NVD
HIGH MEDIUM
CVSS changed
May 11, 2026 - 18:22 NVD
7.3 (HIGH) 5.4 (MEDIUM)
CVE Published
May 11, 2026 - 16:46 nvd
HIGH 7.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenClaw npm package versions before 2026.4.20 contain a remote code execution vulnerability that allows authenticated local users to execute arbitrary code by injecting malicious environment variables into workspace configurations. Organizations using OpenClaw in multi-user environments face operational risk if workspace configurations are not properly validated, as operators starting MCP server sessions could unknowingly trigger injected code.

Business Impact: High
Compensating Controls

Apply vendor patch to version 2026.4.20 or later. Until patching is complete, restrict workspace configuration access to trusted administrators only, disable dynamic environment variable injection in MCP server startup procedures, and implement mandatory code review for all workspace configuration changes.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy