Skip to main content

OpenClaw CVE-2026-41396

| EUVDEUVD-2026-26104 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-04-28 VulnCheck GHSA-qcj9-wwgw-6gm8
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 .env file
  2. Delivery
    Deliver workspace to victim
  3. Exploit
    User opens workspace
  4. Execution
    Override OPENCLAW_BUNDLED_PLUGINS_DIR
  5. Persist
    Load malicious plugin
  6. Impact
    Execute arbitrary code

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

Attack requires the victim to open a workspace containing a malicious .env file that overrides OPENCLAW_BUNDLED_PLUGINS_DIR (UI:P in CVSS vector). The attacker must have the ability to deliver this crafted workspace configuration to the victim, typically through social engineering, supply chain compromise of shared repositories, or physical access to place files in locations where users open workspaces. No special OpenClaw configuration is required - default installations are vulnerable. The attack works against standard deployments without requiring elevated privileges (PR:N) or complex setup (AC:L). Exploitation is limited by the local attack vector (AV:L), requiring the malicious workspace to exist on the victim's filesystem before being opened, though this can be achieved through various delivery mechanisms including git clone operations, file downloads, or shared network directories. User interaction is mandatory - automated exploitation without workspace opening is not possible with this vulnerability alone.

Impact

Real-world risk is moderate-to-high for targeted attacks despite requiring local access and user interaction. The CVSS v4.0 vector (AV:L/AC:L/PR:N/UI:P) indicates local attack vector with low complexity and no privileges required, but user interaction is necessary - specifically, a user must open a malicious workspace. The attack achieves high confidentiality, integrity, and availability impact to the vulnerable system (VC:H/VI:H/VA:H) with no scope change (SC:N/SI:N/SA:N), meaning compromise is contained to the application context. EPSS score not provided in intelligence sources. No CISA KEV listing indicates this is not yet observed in widespread exploitation. VulnCheck advisory publication and vendor GitHub security advisory (GHSA-qcj9-wwgw-6gm8) confirm the vulnerability with vendor-supplied patch (commit 330a9f98cb). The attack complexity is low because creating a malicious .env file is trivial, but delivery requires social engineering (convincing users to open a workspace) or supply chain compromise (injecting malicious config into shared repositories). Organizations using OpenClaw in collaborative environments with shared workspaces face elevated risk. The vulnerability is particularly concerning for scenarios where workspace configurations are cloned from external sources or shared via version control systems, as a single malicious .env file can compromise all users who open that workspace. Priority should be moderate-to-high for OpenClaw installations, especially in multi-user or repository-sharing environments.

Exploit ScenarioDerived

An attacker creates a malicious OpenClaw workspace containing a .env file that sets OPENCLAW_BUNDLED_PLUGINS_DIR to point to an attacker-controlled directory containing a trojanized plugin. The attacker distributes this workspace via a shared code repository, email attachment, or collaboration platform. When a victim user opens this workspace in OpenClaw (UI:P satisfied), the application processes the .env file and redirects plugin trust verification to the attacker's directory. OpenClaw then loads and executes the malicious plugin with the victim's privileges, achieving code execution (VC:H/VI:H/VA:H). No public proof-of-concept is referenced in available intelligence, but the attack technique is straightforward given the local file manipulation requirements. The attack succeeds against default OpenClaw configurations with no special privileges required (PR:N).

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

Local attackers can execute malicious code in OpenClaw versions before 2026.3.31 by placing crafted .env files in workspaces to override the OPENCLAW_BUNDLED_PLUGINS_DIR variable, bypassing plugin trust verification. The vulnerability enables code injection through untrusted plugins masquerading as verified components when users open compromised workspace configurations. EPSS data not available; CVSS v4.0 rates this 8.5 HIGH with local attack vector requiring user interaction. Vendor patch available via GitHub commit 330a9f98cb and release 2026.3.31.

RemediationAI

Upgrade OpenClaw to version 2026.3.31 or later, which contains the fix implemented in GitHub commit 330a9f98cb29c79b1c16a2117e03d6276a0d6289. Download the patched release from the official OpenClaw repository at https://github.com/openclaw/openclaw. Review the vendor security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-qcj9-wwgw-6gm8 for additional implementation details. Until patching is complete, implement compensating controls by restricting workspace sources to trusted origins only - specifically, prohibit opening workspaces from untrusted repositories, email attachments, or external file shares. Configure filesystem permissions to prevent unauthorized modification of workspace .env files in shared environments. Audit existing workspace configurations for unexpected OPENCLAW_BUNDLED_PLUGINS_DIR overrides by searching for this variable in all .env files across workspace directories. Note that restricting workspace sources may limit collaboration workflows and require additional vetting processes for shared projects. Monitor plugin loading behavior through application logs to detect anomalous plugin directory paths. These workarounds reduce attack surface but do not eliminate the vulnerability - upgrading to the patched version remains the definitive remediation.

Affected VersionsENISA

OpenClaw 0 <2026.3.31

Affected Packages

npm openclaw fix: 2026.3.31

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

OpenClaw is a software platform that implements plugin trust verification by maintaining a trusted root directory for bundled plugins, specified via the OPENCLAW_BUNDLED_PLUGINS_DIR environment variable. The vulnerability stems from CWE-829 (Inclusion of Functionality from Untrusted Control Sphere), where workspace-scoped .env configuration files can override this critical security boundary variable. When users open a workspace, OpenClaw processes its .env file to set environment variables, but fails to protect the OPENCLAW_BUNDLED_PLUGINS_DIR variable from being overridden. This allows attackers to redirect the plugin trust verification mechanism to an attacker-controlled directory containing malicious plugins. The affected CPE (cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) indicates all versions prior to the 2026.3.31 release are vulnerable. The trust boundary violation enables code injection because the application executes plugins from the overridden directory path while believing they originate from the legitimate bundled plugins location, effectively bypassing trust-based security controls.

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.31 allows workspace .env files to override the OPENCLAW_BUNDLED_PLUGINS_DIR environment variable, compromising plugin trust verification. Attackers with control over workspace configuration can inject malicious plugins by overriding the bundled plugin trust root directory.

Blast Radius

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

Ecosystem-wide dependent count for version 2026.3.31.

Executive ViewAI

Why It Matters

OpenClaw versions before 2026.3.31 contain a local code execution vulnerability that allows attackers to inject malicious plugins by manipulating workspace configuration files, requiring user interaction to open compromised workspaces. This affects development teams and organizations using OpenClaw for workflow automation, potentially enabling unauthorized code execution within development environments and supply chain compromise.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete, restrict OpenClaw usage to trusted, internally-managed workspaces; disable auto-loading of workspace configurations; require code review of all .env file changes before workspace activation; and isolate OpenClaw execution environments from production systems.

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

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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