CVE-2026-31996CWE-78

OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags

Low · published March 19, 2026

CVSS v4.0
2.0
EPSS
0%
Percentile
12.2
In the wild
Unconfirmed
What it is

OpenClaw versions prior to 2026.2.19 tools.exec.safeBins contains an input validation bypass vulnerability that allows attackers to execute unintended filesystem operations through sort output flags or recursive grep flags. Attackers with command execution access can leverage sort -o flag for arbitrary file writes or grep -R flag for recursive file reads, circumventing intended stdin-only restrictions.

The record
Technical detail
CVSS v4.0
2.0 · LOW
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS
0.00223 · 12.2th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-03-19T01:00Z
EPSS history
Timeline
  • 19 MAR 01:00Z
    OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags
    cvelistv5