Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious skill with .env override
-
DeliveryDistribute to OpenClaw operator
-
ExploitOperator installs skill
-
ExecutionSetup invokes attacker-controlled Homebrew binary
-
PersistArbitrary code runs as operator
-
ImpactHost compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Exploitation Conditions | The attacker must be able to introduce a workspace-level .env file into a trusted OpenClaw operator workspace - for example by shipping it inside a skill that the operator imports - and the OpenClaw skill-install flow must be triggered, which the CVSS 4.0 vector marks as UI:P (passive user interaction). Exploitation further requires that the workspace .env entries OpenClaw consumes can override the Homebrew executable path used during skill setup, and is limited to OpenClaw versions prior to 2026.5.27; environments that restrict who can author or modify workspace files, or that have already upgraded to 2026.5.27, are not exposed. |
| Impact | The vendor CVSS 4.0 score of 8.7 with AV:N/AC:L/PR:N/UI:P and high VC/VI/VA reflects that any operator who installs a tampered skill gets full host compromise, but the UI:P requirement and the implicit need to obtain a 'trusted operator workspace' meaningfully limit drive-by exploitation. There is no EPSS, no KEV listing, and no POC referenced - so this is best treated as a supply-chain / malicious-skill risk rather than mass-exploitable RCE. Note that the CVSS vector advertises AV:N while the description requires access to a trusted operator workspace; the network vector is justifiable only if the .env arrives bundled inside a remotely distributed skill, and defenders evaluating purely local trust boundaries may consider this closer to a local execution issue. |
| Exploit ScenarioDerived | An attacker publishes or modifies a skill bundle whose workspace ships a crafted .env file that points OpenClaw's Homebrew lookup at an attacker-controlled binary placed on PATH or referenced directly. When an operator imports the skill and triggers setup, OpenClaw invokes that binary instead of the legitimate |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Arbitrary code execution in OpenClaw before 2026.5.27 lets attackers hijack the Homebrew executable resolved during skill installation by planting a workspace-level .env file that overrides the trusted Homebrew path. The flaw, classified as CWE-426 (Untrusted Search Path), enables full system compromise when an operator installs a tampered skill. There is no public exploit identified at time of analysis, and the issue is not on the CISA KEV list.
RemediationAI
Vendor-released patch: upgrade OpenClaw to 2026.5.27 or later as described in GHSA-8wg3-5mcm-fjq8 (https://github.com/openclaw/openclaw/security/advisories/GHSA-8wg3-5mcm-fjq8). Until the upgrade is rolled out, only install skills from sources you fully trust, audit any workspace .env files for entries that point Homebrew (or PATH-related variables) at unexpected binaries, and treat operator workspaces as security boundaries by restricting write access to vetted users; the trade-off is that legitimate workflows relying on per-workspace environment overrides will need to be re-validated. Reference the VulnCheck advisory (https://www.vulncheck.com/advisories/openclaw-arbitrary-homebrew-executable-execution-via-workspace-env-override) for additional indicators.
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 the affected product per CPE cpe:2.3:a:openclaw:openclaw, and the vulnerability sits in its skill-install pipeline, which shells out to Homebrew to fetch dependencies. CWE-426 (Untrusted Search Path) is the root-cause class: the installer consults a workspace .env file to choose which brew binary to invoke, so any attacker-controlled value in that file decides which executable runs with the operator's privileges. Because .env files are normally treated as project-scoped configuration rather than security-sensitive input, this gives a malicious or compromised skill bundle a reliable way to redirect execution to an attacker-supplied Homebrew-compatible binary.
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:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Malicious skill delivered remotely (AV:N) executes only after an operator imports and installs it (UI:R); no OpenClaw authentication is required (PR:N) and resulting code execution yields full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
OpenClaw before 2026.5.27 contains an arbitrary code execution vulnerability in skill install flows where workspace .env files can override the Homebrew executable selection. Attackers with access to trusted operator workspaces can execute unintended Homebrew-compatible executables during skill setup to compromise the system.
Blast Radius
ecosystem impact- 2 npm packages depend on openclaw (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.5.27.
Executive ViewAI
OpenClaw before version 2026.5.27 contains an arbitrary code execution vulnerability allowing attackers to achieve full system compromise through malicious skill installations. The flaw exploits how OpenClaw resolves dependencies, enabling complete takeover of any system where an operator installs a tainted skill. No public exploit identified at time of analysis, though the risk to organizations using OpenClaw is immediate.
Apply vendor patch.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-36325
GHSA-8wg3-5mcm-fjq8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB