Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local OpenClaw account
-
DeliveryCreate workspace influencing service path env
-
ExploitPlant malicious trash binary in poisoned path
-
ExecutionTrigger maintenance task execution
-
PersistOpenClaw resolves trash command to attacker binary
-
ImpactArbitrary code execution in maintenance context
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 | Exploitation requires local access to an OpenClaw instance prior to 2026.5.2 with the ability to influence workspace-derived environment paths consumed by the maintenance task - typically authoring or modifying a workspace whose environment configuration is read when maintenance/trash operations execute. The attacker must additionally be able to drop an executable file into a directory that ends up earlier in the resolved service path than the legitimate trash binary, and a maintenance task must subsequently run. Exploitation is limited by: PR:L (the attacker needs an existing low-privileged account on the host or platform running OpenClaw), AV:L (no remote network vector), and AT:P (the deployment must actually let workspace-controlled paths feed the maintenance command lookup - single-user installs that do not expose workspace environment editing to other principals are not realistically exploitable). |
| Impact | The CVSS 4.0 vector AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N indicates a local attack requiring low privileges and a present attack requirement (a specific workspace/path configuration must be reachable), with high confidentiality and integrity impact but no availability impact - consistent with arbitrary command execution rather than denial of service. There is no EPSS score, KEV listing, or public POC in the supplied data, so real-world exploitation pressure is currently low, but VulnCheck dedicating an advisory and the GHSA assignment indicate a credible, reproducible issue rather than a theoretical one. The attack requirement (AT:P) and PR:L meaningfully constrain mass exploitation: this is a priority for multi-tenant or shared-workspace OpenClaw deployments where untrusted users can shape the workspace environment, and a lower priority for single-operator installs. |
| Exploit ScenarioDerived | A low-privileged local user with access to an OpenClaw workspace plants a malicious executable named like the trash command in a directory that will be prepended to the service path derived from that workspace. When an operator (or scheduled job) runs a maintenance task, OpenClaw resolves the trash command through the poisoned path and executes the attacker's binary with the privileges of the maintenance process, yielding arbitrary code execution. No public exploit identified at time of analysis, but the path-poisoning pattern is well understood and trivially reproducible once workspace influence over PATH is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Untrusted search path execution in OpenClaw before 2026.5.2 allows a local low-privileged user to coerce maintenance task routines into invoking attacker-controlled executables in place of the intended trash command. By manipulating workspace-derived environment paths consumed during maintenance operations, an authenticated user can hijack command resolution and run arbitrary binaries in the OpenClaw process context. No public exploit identified at time of analysis, but VulnCheck has published a dedicated advisory describing the workspace-derived service path abuse.
RemediationAI
Vendor-released patch: OpenClaw 2026.5.2 - upgrade to this version or later, per the GHSA-rx78-29qr-5hq8 advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-rx78-29qr-5hq8. Until the upgrade is deployed, restrict who can create or modify OpenClaw workspaces so untrusted users cannot influence the environment variables that feed the maintenance task's service path (this limits multi-user collaboration features). As an additional compensating control, run OpenClaw maintenance tasks under a hardened PATH (absolute system directories only) and remove writable directories from the inherited environment before invoking maintenance operations, accepting that any maintenance hook that depended on workspace-relative tooling will need explicit absolute paths. VulnCheck's writeup at https://www.vulncheck.com/advisories/openclaw-arbitrary-command-execution-via-workspace-derived-service-path provides further detection guidance.
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 resolves the executable for its trash/cleanup command during maintenance task execution by consulting environment paths derived from the user-controlled workspace rather than a hardened, absolute path. This matches CWE-426 (Untrusted Search Path): the program trusts a lookup path whose entries can be influenced by an attacker, so the OS loader picks up a malicious binary that shadows the legitimate one. The CPE cpe:2.3:a:openclaw:openclaw covers all versions of the OpenClaw application up to the 2026.5.2 fix line, and the affected code path is the maintenance/trash subsystem that performs file cleanup using shell-style command name resolution instead of explicit binary paths.
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:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Local low-priv user must influence workspace env and win path resolution against a maintenance run (AC:H, PR:L); yields code execution (C:H/I:H) without availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenClaw before 2026.5.2 contains a path traversal vulnerability in maintenance task execution that allows workspace-derived service paths to influence trash command selection. Attackers can execute unintended local executables from operator-unintended paths during maintenance operations by manipulating workspace-derived environment paths.
Executive ViewAI
OpenClaw versions before 2026.5.2 contain a local privilege escalation vulnerability enabling authenticated users to execute arbitrary code with elevated privileges by manipulating system paths during maintenance operations. No patch is currently available, creating ongoing risk for any organization with affected versions deployed. Immediate identification of exposed systems and implementation of access controls are required to mitigate business continuity risk.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict local system access to trusted administrators only; (2) Implement strict environment PATH controls and prohibit user-writable directories in service paths; (3) Run OpenClaw processes with minimal required privileges; (4) Enable comprehensive audit logging of all maintenance task execution; (5) Disable automatic maintenance routines where operationally feasible.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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
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
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
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
EUVD-2026-37167
GHSA-2w22-3f6x-3hf4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB