Skip to main content

Openclaw CVE-2026-32010

MEDIUM
OS Command Injection (CWE-78)
2026-03-19 disclosure@vulncheck.com GHSA-4gc7-qcvf-38wg
6.3
CVSS 3.1 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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)
v1 Mar 19, 2026 - 22:30 CVSS 6.3

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

npm openclaw fix: 2026.2.22

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

NVD PRIMARY 6.3 MEDIUM
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

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 19, 2026 - 22:16 nvd
MEDIUM 6.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy