Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .env file
-
DeliveryDeliver workspace to victim
-
ExploitUser opens workspace
-
ExecutionOverride OPENCLAW_BUNDLED_PLUGINS_DIR
-
PersistLoad malicious plugin
-
ImpactExecute 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.31.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
EUVD-2026-26104
GHSA-qcj9-wwgw-6gm8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB