Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid OpenClaw credentials
-
DeliveryAccess system configuration
-
ExploitModify remoteWorkspaceDir parameter with malicious path
-
InstallTrigger mirror mode sync operation
-
C2Directory deletion executed on remote path
-
ExecuteWorkspace data replacement via upload
-
ImpactData loss occurs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated user account with access to OpenClaw's configuration and mirror mode functionality (PR:L in CVSS vector). The attacker must be able to create, modify, or influence the OpenShell configuration file contents, specifically the remoteWorkspaceDir and remoteAgentWorkspaceDir parameters. Mirror mode synchronization must be either manually triggered by the attacker or be configured to run automatically. The vulnerable behavior is not limited to default configurations - any OpenClaw installation with mirror mode enabled and accessible to authenticated users is vulnerable. Exploitation is prevented only by successful authentication and the absence of accessible configuration manipulation vectors. |
| Impact | This vulnerability presents moderate-to-high real-world risk with important contextual factors. The CVSS 6.1 score reflects a network-accessible attack (AV:N) with low complexity (AC:L) requiring authenticated credentials (PR:L) and no user interaction, resulting in high integrity and availability impact (VI:H/VA:H). The temporal aspect indicator (AT:P) suggests some attack complexity, likely due to the need for specific configuration manipulation. The authenticated requirement (PR:L) significantly reduces immediate risk compared to unauthenticated attacks, limiting the threat surface to users with valid credentials. However, the integrity and availability impacts are severe - arbitrary remote directory deletion can cause complete data loss and operational disruption. The vulnerability is particularly dangerous in multi-tenant or shared deployment scenarios where authenticated users may have access to unrelated workspaces. The confirmed patch availability and vendor acknowledgment (GHSA listing) indicate this is a recognized, fixable issue. Real-world risk depends heavily on OpenClaw's deployment scale and whether authentication credentials are well-controlled within the organization. |
| Exploit ScenarioDerived | An authenticated attacker with valid OpenClaw credentials logs into the system and creates or modifies an OpenShell configuration file, setting remoteWorkspaceDir to a path traversal payload such as '../../../important_data/' or using absolute paths pointing to sensitive remote directories. When the attacker triggers a mirror mode synchronization operation, the vulnerable code constructs and executes a directory deletion command using the malicious path, deleting the target remote directory contents before uploading replacement workspace data from the attacker's local environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
OpenClaw before version 2026.4.2 allows authenticated attackers to delete arbitrary remote directories during mirror mode synchronization operations by manipulating remoteWorkspaceDir and remoteAgentWorkspaceDir configuration values. An attacker with login credentials can craft malicious OpenShell config paths that cause the mirror sync function to delete unintended remote directory contents before replacing them with uploaded workspace data, resulting in data loss and potential service disruption.
RemediationAI
Immediately upgrade OpenClaw to version 2026.4.2 or later, which contains the vendor-released patch. The fix addresses the path traversal vulnerability by implementing proper validation of remoteWorkspaceDir and remoteAgentWorkspaceDir configuration parameters. Until patching is possible, restrict authentication credentials to trusted administrators only and audit all users with access to OpenClaw mirror mode functionality. Additionally, disable mirror mode synchronization operations if they are not essential to operations, and implement file system monitoring on remote workspace directories to detect and alert on unexpected deletion events. Backup remote workspace directories regularly and maintain offline copies to recover from potential data loss caused by exploitation. The patch is available at the commit reference https://github.com/openclaw/openclaw/commit/b21c9840c2e38f4bb338d031511b479d5f07ca25 and in the official vendor advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-m34q-h93w-vg5x.
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's mirror mode implements synchronization between local and remote workspaces using configuration paths specified in OpenShell config files. The vulnerability stems from insufficient input validation on the remoteWorkspaceDir and remoteAgentWorkspaceDir configuration parameters, which are used to construct file system paths for directory deletion operations during sync. This represents a classic path traversal vulnerability (CWE-22) where attacker-controlled path components are not properly validated before being passed to directory deletion routines. The CVE affects all versions of OpenClaw prior to 2026.4.2, as identified in the affected product CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*.
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:P/PR:L/UI:N/VC:N/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
4DescriptionCVE.org
OpenClaw before 2026.4.2 contains an arbitrary directory deletion vulnerability in mirror mode that allows attackers to delete remote directories by influencing remoteWorkspaceDir and remoteAgentWorkspaceDir configuration values. Attackers can manipulate these OpenShell config paths to cause mirror sync operations to delete unintended remote directory contents and replace them with uploaded workspace data.
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
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-26092
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB