Skip to main content

OpenClaw CVE-2026-41384

| EUVDEUVD-2026-26093 HIGH
External Control of System or Configuration Setting (CWE-15)
2026-04-28 VulnCheck GHSA-vfw7-6rhc-6xxg
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious workspace config
  2. Delivery
    Deliver to target user
  3. Exploit
    User loads workspace in OpenClaw CLI
  4. Execution
    Backend runner spawns process with injected environment variables
  5. Impact
    Execute arbitrary code or exfiltrate data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
Exploitation Conditions

Attacker must deliver a malicious OpenClaw workspace configuration file to the target system AND convince a user to load it via the CLI backend runner (UI:P requirement in CVSS vector). No authentication required for local access (PR:N) but attacker needs ability to write or deliver files to locations accessible by the victim user. Exploitation specifically targets the CLI backend runner component when processing workspace configs - does not affect OpenClaw deployments that exclusively use pre-validated internal workspace configurations or run without user-controlled workspace files. Limiting factor: social engineering barrier is significant, requiring user to explicitly load external workspace config, which reduces likelihood compared to fully automated remote exploits.

Impact

Real-world risk is moderate-high for targeted attacks but low for mass exploitation. CVSS 8.5 (High) reflects severe technical impact: complete compromise of confidentiality, integrity, and availability (VC:H/VI:H/VA:H) with no impact to subsequent systems (SC:N/SI:N/SA:N). However, the attack vector is local (AV:L) requiring the attacker to deliver a malicious workspace config file and convince a user to load it (UI:P), significantly limiting attack surface compared to remote network exploitation. The low attack complexity (AC:L) means once the malicious config is loaded, exploitation is straightforward. No EPSS score provided, but absence from CISA KEV and lack of public POC suggests exploitation is not yet widespread. VulnCheck identified this vulnerability, and vendor GitHub advisory with patch commit indicates responsible disclosure. SSVC decision factors: Exploitation status is 'none' (no public POC/KEV), Automatable is 'no' (requires social engineering to deliver malicious workspace file), Technical Impact is 'total' (arbitrary code execution). Priority is medium: patch immediately in high-value environments where users regularly import external workspace configs, but not an internet-scale emergency.

Exploit ScenarioDerived

An attacker crafts a malicious OpenClaw workspace configuration file containing injected environment variables (e.g., LD_PRELOAD pointing to attacker-controlled shared library, or PATH manipulation to execute trojanized binaries). The attacker socially engineers a target user to import this workspace config via phishing email, shared repository, or compromised collaboration platform. When the victim loads the malicious workspace in OpenClaw CLI and triggers backend runner operations, the injected environment variables are passed to spawned subprocesses, loading the attacker's malicious library or executing arbitrary code with the user's privileges. The attacker achieves code execution, establishes persistence, or exfiltrates sensitive data accessible to the OpenClaw process.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Apr 28, 2026

Environment variable injection in OpenClaw's CLI backend runner enables local attackers to achieve arbitrary code execution or exfiltrate sensitive data by manipulating workspace configuration files. Attackers with the ability to supply malicious workspace configs can inject environment variables into backend processes during spawning, exploiting CWE-15 (external control of system or configuration setting). Vendor patch available via GitHub commit c2fb7f1. CVSS 8.5 reflects high impact across confidentiality, integrity, and availability, though exploitation requires local access and user interaction to load the malicious workspace config. No evidence of active exploitation (not in CISA KEV) or public proof-of-concept at time of analysis.

RemediationAI

Upgrade to OpenClaw version 2026.3.24 or later, which includes the fix committed in GitHub commit c2fb7f1948c3226732a630256b5179a60664ec24 (https://github.com/openclaw/openclaw/commit/c2fb7f1948c3226732a630256b5179a60664ec24). Review the vendor security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-vfw7-6rhc-6xxg for upgrade instructions and additional context. If immediate patching is not feasible, implement compensating controls: restrict workspace configuration files to trusted internal sources only, implement file integrity monitoring on workspace config directories, and educate users to never load workspace configs from external or untrusted parties. Consider running OpenClaw CLI processes in sandboxed environments (containers, VMs) with restricted environment variable inheritance to limit blast radius of potential exploitation. Trade-off: sandboxing may break legitimate workflows that depend on specific environment variables; test thoroughly before production deployment. Review audit logs for unexpected workspace config loads or backend process spawns with anomalous environment variables.

Affected VersionsENISA

OpenClaw 0 <2026.3.24

Affected Packages

npm openclaw fix: 2026.3.24

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

This vulnerability exploits CWE-15 (External Control of System or Configuration Setting) in OpenClaw's command-line interface backend runner. The affected component (cpe:2.3:a:openclaw:openclaw) fails to sanitize or validate environment variable inputs derived from workspace configuration files before spawning backend processes. Environment variable injection is a class of attack where untrusted input controls process environment variables, which can then influence program behavior, library loading paths (LD_PRELOAD, PATH manipulation), or configuration settings. In CLI tools that spawn subprocesses, injected environment variables can alter execution flow, load malicious shared libraries, or leak credentials through modified logging/debugging variables. The CVSS 4.0 vector indicates local attack vector (AV:L) with low complexity (AC:L) but requires user interaction (UI:P) to load the crafted workspace configuration, suggesting the victim must explicitly open or import a malicious workspace file.

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 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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
None
Privileges Required
None
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
CVSS changed
Apr 28, 2026 - 19:52 NVD
7.8 (HIGH) 8.5 (HIGH)
Patch released
Apr 28, 2026 - 19:30 nvd
Patch available
CVE Published
Apr 28, 2026 - 18:09 nvd
HIGH 8.5

DescriptionCVE.org

OpenClaw before 2026.3.24 contains an environment variable injection vulnerability in the CLI backend runner that allows attackers to inject malicious environment variables through workspace configuration. Attackers can craft malicious workspace configs to inject arbitrary environment variables into the backend process spawning, enabling code execution or sensitive data exposure.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on openclaw (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.24.

Executive ViewAI

Why It Matters

OpenClaw's CLI backend runner contains an environment variable injection vulnerability (CVE-2026-41384, CVSS 8.5) that allows local attackers to execute arbitrary code or steal sensitive data through malicious workspace configuration files. This poses a significant risk to development teams and CI/CD pipelines using OpenClaw, as compromised or untrusted workspace configs could lead to credential theft, data exfiltration, or pipeline compromise. Immediate patching is critical for any organization using OpenClaw in shared or supply-chain environments.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: restrict workspace config sources to trusted, version-controlled repositories only; implement file integrity monitoring on workspace configuration files; run OpenClaw processes with minimal privilege and isolated environment variables; disable or restrict untrusted user ability to supply custom workspace configs; audit and baseline all environment variables passed to backend processes.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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