Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAdd sort to tools.exec.safeBins
-
ExploitCraft compress-program parameter with unauthorized command
-
ExecutionBypass allowlist constraints
-
ImpactExecute arbitrary external program
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 with sort explicitly added to tools.exec.safeBins configuration. Attacker needs high-privilege local access to invoke the compress-program parameter. No victim interaction needed. |
| Impact | The CVSS 3.1 score of 6.4 reflects a moderate but non-trivial risk profile characterized by a local attack vector (AV:L), high attack complexity (AC:H), high privilege requirement (PR:H), and high impact on confidentiality, integrity, and availability (C:H/I:H/A:H). The CVSS vector indicates this is not an easily exploitable vulnerability; it requires the attacker to already have high-privilege access to the system and must navigate increased technical complexity. However, the presence of a vendor patch, active disclosure by VulnCheck, and GitHub security advisory (GHSA-vmqr-rc7x-3446) suggest this is a real vulnerability with concrete proof of concept. The high-privilege requirement significantly lowers real-world risk for most deployments, as it means an attacker must already be deeply embedded in the system; however, for environments where multiple users or services share elevated privileges, this represents a meaningful privilege escalation or capability expansion path. SSVC perspective: exploitation is likely automatable once access is achieved, technical impact is complete system compromise, and the likelihood of exploitation depends on whether sort is present in the safeBins configuration—making this a conditional but serious vulnerability for affected configurations. |
| Exploit ScenarioDerived | A system administrator with high-privilege access to an OpenClaw instance could deliberately or inadvertently include sort in the safeBins allowlist. An attacker who has gained high-privilege credentials (e.g., through social engineering, insider threat, or credential theft) could then craft a malicious job submission that exploits the compress-program parameter to invoke unauthorized external programs such as shell commands, thereby achieving code execution with the privileges of the OpenClaw process. The moderate attack complexity indicates the attacker must have specific knowledge of the OpenClaw configuration and the presence of sort in safeBins to succeed, but once achieved, the impact is complete system compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
OpenClaw versions before 2026.2.22 allow local attackers with high privileges to execute arbitrary commands through a safeBins allowlist bypass in the compress-program option, enabling unauthorized external program execution despite security constraints. The vulnerability exploits improper validation of the sort tool configuration to circumvent intended access controls. A patch is available to remediate this command injection flaw.
Earlier versions of this analysis (1)
OpenClaw versions prior to 2026.2.22 contain an allowlist bypass vulnerability in the safeBins configuration that allows high-privileged attackers to execute arbitrary external programs by leveraging the compress-program parameter to circumvent safe-bin approval constraints. The vulnerability affects OpenClaw across all versions below 2026.2.22 and requires high privileges and moderate attack complexity to exploit; a patch is available from the vendor, and proof-of-concept information has been disclosed via VulnCheck and GitHub security advisories.
RemediationAI
Upgrade OpenClaw to version 2026.2.22 or later, which includes the fix committed at https://github.com/openclaw/openclaw/commit/57fbbaebca4d34d17549accf6092ae26eb7b605c. Organizations unable to patch immediately should review their safeBins configuration and explicitly remove the sort utility from tools.exec.safeBins unless it is absolutely required; additionally, enforce the principle of least privilege for accounts running OpenClaw processes to minimize the window of opportunity for exploitation. Network-level controls should restrict access to OpenClaw instances to trusted administrative users and services only.
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 is rooted in CWE-78 (Improper Neutralization of Special Elements used in an OS Command, aka OS Command Injection), stemming from inadequate validation of the compress-program parameter within OpenClaw's safeBins configuration mechanism. OpenClaw (as identified via CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) implements a safeBins allowlist to restrict which external helper programs can be invoked during processing operations. The flaw occurs when the sort tool is explicitly added to tools.exec.safeBins; attackers can then abuse the compress-program option to bypass the intended approval constraints and invoke unauthorized external programs. This represents a classic case of authentication/authorization bypass through parameter injection, where a trusted configuration option becomes a vector for privilege escalation or lateral movement.
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: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 contain an allowlist bypass vulnerability in the safeBins configuration that allows attackers to invoke external helpers through the compress-program option. When sort is explicitly added to tools.exec.safeBins, remote attackers can bypass intended safe-bin approval constraints by leveraging the compress-program parameter to execute unauthorized external programs.
Executive ViewAI
CVE-2026-22169 presents moderate security risk, a OS command injection vulnerability rated CVSS 7.1. 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-12710
GHSA-vmqr-rc7x-3446
NVD
CVE.org
EPSS
VulDB
Exploit-DB