Openclaw
CVE-2026-32010
MEDIUM
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. |
| Impact | The CVSS v3.1 score of 6.3 (Medium-High) reflects a medium-complexity local attack requiring limited user privileges with no user interaction, yielding high integrity and availability impact but no confidentiality breach. The attack vector is local (AV:L), attack complexity is high (AC:H) due to manual configuration requirements, and privileges required (PR:L) indicate a low-privileged user can exploit this. The real-world risk is significant because the vulnerability requires specific misconfigurations (sort explicitly added to safeBins) and understanding of sort's undocumented compression flags, limiting opportunistic exploitation. However, in environments using sort for legitimate operations and implementing ask=on-miss mode for additional safety, this becomes a credible privilege escalation path for local attackers. The public availability of a security advisory and referenced commit indicate patch readiness and analyst awareness, lowering the window for zero-day exploitation but increasing the urgency for organizations running affected versions with this specific configuration. |
| Exploit ScenarioDerived | A low-privileged local user on a system running OpenClaw 2026.2.21 with sort configured in safeBins and ask=on-miss enabled crafts a request to execute sort with the --compress-program flag pointing to a malicious script in a world-writable directory. Because --compress-program bypasses the allowlist validation logic, the external program executes with the privileges of the OpenClaw process without triggering the on-miss approval workflow, allowing the attacker to read sensitive files, modify system configuration, or establish persistence. The AC:H rating reflects that this requires knowledge of sort's compression capabilities and deliberate configuration of sort in safeBins, but once those conditions exist, exploitation is straightforward and reliable for local attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
OpenClaw versions before 2026.2.22 allow local authenticated attackers to bypass the safe-bin allowlist by exploiting sort's --compress-program flag, enabling execution of arbitrary programs despite allowlist restrictions. This command injection vulnerability affects deployments using safe-bin configuration with ask=on-miss mode enabled, permitting unauthorized code execution without operator approval.
Earlier versions of this analysis (1)
OpenClaw versions prior to 2026.2.22 contain an allowlist bypass vulnerability in the safe-bin configuration that allows local attackers with limited privileges to execute arbitrary external programs without operator approval. When the sort binary is manually added to tools.exec.safeBins, attackers can invoke sort with the --compress-program flag to circumvent the allowlist mechanism in ask=on-miss mode, leading to command injection with potential privilege escalation and integrity compromise. A proof-of-concept and security advisory are publicly available.
RemediationAI
Upgrade OpenClaw to version 2026.2.22 or later immediately, as this version contains the security patch for the allowlist bypass. The patch can be obtained from the official OpenClaw repository at https://github.com/openclaw/openclaw/security/advisories/GHSA-4gc7-qcvf-38wg. As a temporary mitigation for systems unable to patch immediately, remove sort from the tools.exec.safeBins allowlist unless absolutely required for operations, or disable ask=on-miss mode to require explicit operator approval for all sort executions. Organizations should audit their current safe-bin configurations to identify other potentially dangerous flag combinations in whitelisted utilities and implement stricter argument validation policies at the framework level. Review the VulnCheck advisory at https://www.vulncheck.com/advisories/openclaw-allowlist-bypass-via-sort-compress-program-parameter for additional context and detection guidance.
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 is a command execution framework that implements allowlist-based access controls through its safe-bin configuration in tools.exec.safeBins. The vulnerability exploits a design flaw in argument validation where auxiliary flags passed to whitelisted binaries are not properly sanitized. The sort utility's --compress-program parameter accepts arbitrary external program paths, providing a secondary execution vector that bypasses the primary allowlist check. This represents a classic command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command) where trusted binaries are weaponized to launch unvetted code. The root cause is insufficient parameter filtering on allowlisted executables, failing to restrict dangerous flag combinations that enable code execution through indirect means.
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:N/I:H/A:H
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 safe-bin configuration when sort is manually added to tools.exec.safeBins. Attackers can invoke sort with the --compress-program flag to execute arbitrary external programs without operator approval in allowlist mode with ask=on-miss enabled.
Executive ViewAI
CVE-2026-32010 presents moderate security risk, a OS command injection vulnerability rated CVSS 6.3. Exploitation could allow attackers to execute code or inject malicious input. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
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.
Affected Products (CPE)CVE.org
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
GHSA-4gc7-qcvf-38wg
NVD
CVE.org
EPSS
Exploit-DB