CVE-2026-31996

Medium

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.

SeverityMedium
CVSS4.4
Exploit probability4. percentile0.1%
ProductOpenclaw
PublishedMar 19, 2026
First seenMar 19, 2026

How to fix

Affected products

ProductAffected versionsFixed in
openclaw openclawv < 2026.2.192026.2.19
openclawnpmv < 2026.2.192026.2.19

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.