Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted shell payload with command substitution
-
ExploitBypass allowlist parser via double-quoted tokens
-
ImpactExecute non-allowlisted arbitrary commands on macOS
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 | Requires OpenClaw versions prior to 2026.2.22 on macOS with node-host system.run module enabled. Attacker must have high-privilege access (PR:H) and craft shell payloads exploiting command substitution parsing within double-quoted text to bypass the allowlist and execute arbitrary commands. |
| Impact | The CVSS v3.1 score of 6.6 (Medium) with vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H presents a moderate but nuanced risk profile. The attack vector is network-accessible, but attack complexity is high and privilege requirements are high, meaning an attacker must already possess administrative or high-privilege credentials to exploit the flaw. The impact is severe (high confidentiality, integrity, and availability) once exploited. However, the high privilege requirement (PR:H) significantly constrains real-world exploitability compared to unauthenticated attacks. The vulnerability is likely not in the CISA KEV catalog given the privilege requirement barrier. Without disclosed EPSS data or active POC exploitation in the wild, this represents a credential-holder lateral privilege escalation or privilege abuse scenario rather than a primary infection vector. Organizations should prioritize patching in environments where high-privilege accounts may be compromised or where insider threats are a concern, but this is not a critical emergency compared to network-accessible unauthenticated RCE vulnerabilities. The existence of a vendor patch (commit 90a378ca3a9ecbf1634cd247f17a35f4612c6ca6) and public advisories indicates responsible disclosure. |
| Exploit ScenarioDerived | An attacker with administrative credentials on a macOS system running vulnerable OpenClaw attempts to execute a data exfiltration command that is not on the allowlist. Instead of directly calling the forbidden command, they craft a payload such as system.run('echo "$(cat /etc/passwd)"'), which appears to be an allowlisted echo command but executes cat through command substitution. The parsing flaw in the allowlist validator fails to detect the embedded $() syntax, allowing the password file to be read and exfiltrated. The high-complexity CVSS rating reflects the attacker's need to already possess administrative access and the requirement for careful payload crafting to evade the allowlist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
OpenClaw versions prior to 2026.2.22 contain an allowlist bypass vulnerability in the macOS node-host system.run function that permits remote attackers with high privileges to execute arbitrary commands by exploiting improper parsing of command substitution tokens. Attackers can craft malicious shell payloads using command substitution syntax within double-quoted strings to circumvent security allowlists and achieve code execution. A patch is available from the vendor, and the vulnerability has been documented by VulnCheck with public advisory and GitHub security advisory references.
RemediationAI
Upgrade OpenClaw to version 2026.2.22 or later immediately. The vendor has released a patch available at https://github.com/openclaw/openclaw/commit/90a378ca3a9ecbf1634cd247f17a35f4612c6ca6 and full advisory guidance at https://github.com/openclaw/openclaw/security/advisories/GHSA-9p38-94jf-hgjj. Until patching can be completed, restrict execution of system.run function to only trusted, low-privilege service accounts and implement network segmentation to limit who can access macOS node-host systems running vulnerable OpenClaw versions. Audit command execution logs for any evidence of command substitution syntax in arguments passed to system.run. Apply the patch during your next maintenance window; given the high privilege requirement, this is not a drop-everything emergency but should be prioritized within standard patching schedules.
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
The vulnerability resides in OpenClaw's system.run function (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*), which is responsible for executing shell commands on macOS node-host systems. The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), stemming from inadequate validation of command substitution syntax. The allowlist mechanism intended to restrict executable commands fails to properly parse and neutralize shell metacharacters, particularly command substitution operators (backticks and $() syntax) when embedded within double-quoted strings. This parsing weakness allows attackers to nest unauthorized commands within what appears to be allowlisted command text, causing the shell to execute the substituted payload. The vulnerability affects the macOS platform specifically, indicating OS-level command execution through improper shell parameter expansion handling.
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:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw versions prior to 2026.2.22 in macOS node-host system.run contain an allowlist bypass vulnerability that allows remote attackers to execute non-allowlisted commands by exploiting improper parsing of command substitution tokens. Attackers can craft shell payloads with command substitution syntax within double-quoted text to bypass security restrictions and execute arbitrary commands on the system.
Executive ViewAI
CVE-2026-22179 presents notable security risk, a OS command injection vulnerability rated CVSS 7.5. Successful exploitation could allow attackers to execute arbitrary code or commands on affected systems, potentially leading to full system compromise. A patch is available and should be applied as part of regular vulnerability management.
Apply vendor patch. If immediate patching is not feasible: (1) Deploy WAF rules to block injection patterns; (2) Restrict network access to affected components; (3) Enable enhanced logging for suspicious activity.
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 Multiple Security Vulnerabilities
View all 4Auth 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
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
EUVD-2026-12724
GHSA-9p38-94jf-hgjj
NVD
CVE.org
EPSS
VulDB
Exploit-DB