Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Lifecycle Timeline
4DescriptionCVE.org
OpenClaw before 2026.2.19 contains a command injection vulnerability in tools.exec.safeBins that allows attackers to bypass stdin-only restrictions using sort output flags or recursive grep flags. Attackers can exploit this to perform arbitrary file writes via sort -o or recursive file reads via grep -R, circumventing intended safe-bin execution restrictions.
AnalysisAI
OpenClaw before version 2026.2.19 contains a command injection vulnerability in the tools.exec.safeBins function that allows local attackers with limited privileges to bypass stdin-only execution restrictions through specially crafted sort output flags (sort -o) or recursive grep flags (grep -R). An authenticated attacker can exploit this to perform arbitrary file writes or reads, circumventing the intended safe-bin execution model that restricts command capabilities. A patch is available from the vendor, and this vulnerability has been documented by VulnCheck with supporting technical details.
Technical ContextAI
The vulnerability exists in OpenClaw's safe binary execution wrapper (tools.exec.safeBins), which is designed to restrict command execution to stdin-only operations to prevent unauthorized file access or modification. The root cause is a command injection flaw (CWE-78) where the wrapper fails to properly sanitize or validate command-line arguments before passing them to underlying utilities. Specifically, the sort utility's -o flag (output redirection) and grep's -R flag (recursive directory traversal) are not blocked, allowing attackers to bypass the intended restrictions. OpenClaw (affected CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) uses this mechanism to control what file operations untrusted or restricted processes can perform, but the inadequate argument validation undermines this security boundary.
RemediationAI
Upgrade OpenClaw to version 2026.2.19 or later, which includes the vendor's patch that properly validates command-line arguments to block dangerous flags like sort -o and grep -R. The patch is available at https://github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8520f. Until patching is possible, organizations should restrict local system access to trusted users only, implement application-level controls to monitor and log execution of sort and grep commands with suspicious arguments, and consider using AppArmor, SELinux, or similar mandatory access controls to restrict file write access from processes running under the affected safe-bin wrapper.
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
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
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
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-14591
GHSA-cvxf-wh5g-9qwh