Vulnerability

CVE-2026-31996

lowCVSS 4.0 2.0Published 19 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Openclaw openclaw

Weakness type

References

  • github.com /openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b…
  • github.com /openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95
  • www.vulncheck.com /advisories/openclaw-safebins-stdin-only-bypass-via-sort-ou…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning