Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v3.1 score of 5.8 reflects a medium-severity vulnerability with specific attack characteristics: local attack vector (AV:L), high complexity (AC:H), low privilege requirements (PR:L), no user interaction (UI:N), unchanged scope (S:U), low confidentiality impact (C:L), high integrity impact (I:H), and low availability impact (A:L). The high integrity impact combined with arbitrary code execution capability represents a significant real-world threat despite the medium CVSS score. The high complexity rating suggests the attack requires specific conditions or knowledge, but these appear to be well-understood shell syntax features. The low privilege requirement is notable and concerning—any local user can exploit this. While no EPSS score or KEV status data is provided in the intelligence sources, the existence of a publicly disclosed security advisory, proof-of-concept reference from VulnCheck, and available patch indicates this is a known and potentially active vulnerability. This should be treated as a real priority for organizations running OpenClaw, particularly in environments with untrusted local users or where OpenClaw processes user-supplied input. |
| Exploit ScenarioDerived | An authenticated local user with standard privileges on a system running vulnerable OpenClaw crafts a malicious command string containing shell line-continuation syntax (backslash-newline) and command substitution operators within double quotes. When this string is processed by OpenClaw's system.run function, the shell wrapper's allowlist check fails to detect the injected command because the payload is syntactically split across the continuation. The shell runtime then reconstructs the full payload at parse time, executing the attacker's arbitrary subcommand—such as spawning a reverse shell, modifying system files, or escalating privileges. The high complexity rating in the CVSS vector suggests this requires specific knowledge of the allowlist implementation and shell parsing behavior, but such techniques are well-known to experienced attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
OpenClaw before version 2026.2.22 contains a critical allowlist bypass vulnerability in the system.run function that allows authenticated local attackers to execute arbitrary commands by circumventing security controls. An attacker with local access and low privileges can inject shell line-continuation sequences and command substitution syntax within double quotes to fold malicious payloads into executable subcommands, effectively bypassing the intended command allowlist. This vulnerability enables privilege escalation and arbitrary code execution on affected systems.
RemediationAI
Upgrade OpenClaw immediately to version 2026.2.22 or later to apply the vendor's security patch, which is available via the official GitHub repository commit 3f0b9dbb36c86e308267924c0d3d4a4e1fc4d1e9. Consult the official GitHub security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-9868-vxmx-w862 and VulnCheck's advisory at https://vulncheck.com/advisories/openclaw-mar-allowlist-bypass-via-shell-line-continuation-command-substitution-in-system-run for detailed upgrade instructions. As an interim mitigation pending patching, restrict local access to OpenClaw to trusted users only, implement strict input validation on any user-supplied data passed to system.run functions, and consider implementing shell execution sandboxing or mandatory access controls (SELinux/AppArmor) to limit the scope of command injection attacks.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exploits a flaw in OpenClaw's shell command wrapper analysis mechanism, which is responsible for validating and allowlisting commands executed through the system.run function. The root cause is classified under CWE-863 (Incorrect Authorization), indicating a failure to properly validate and restrict command execution. The attack vector leverages shell metacharacters, specifically the line-continuation character (backslash) followed by newline and parenthesis within double-quoted strings. When processed by the shell runtime, these characters cause the shell parser to fold the split payload into a valid command substitution expression $(…), which then executes the attacker's injected subcommands. The affected product is OpenClaw (CPE: cpe:2.3:a:openclaw:openclaw), a tool that appears to be designed with security-critical command execution capabilities that require strict input validation.
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
AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.2.22 contains an allowlist bypass vulnerability in system.run that allows attackers to execute non-allowlisted commands by splitting command substitution using shell line-continuation. Attackers can bypass shell-wrapper analysis by injecting $\\ followed by newline and ( inside double quotes, causing the shell runtime to fold the payload into $(...)and execute arbitrary subcommands.
Executive ViewAI
Organizations using OpenClaw before 2026.2.22 should be aware of moderate risk from CVE-2026-32047, a incorrect authorization vulnerability rated CVSS 5.8. Attackers could gain access beyond their authorized level. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-14564
GHSA-jjhv-9r5q-4vqg
NVD
CVE.org
Exploit-DB