Skip to content

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

LowCVSS 2.0 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm openclaw < 2026.2.19 2026.2.19 Fixed
npm openclaw(npm) < 2026.2.19; <= 2026.2.17 2026.2.19 Fixed
openclaw < 2026.2.19 2026.2.19 Fixed

Affected products

ProductAffected versionsFixed in
npm openclaw < 2026.2.19 2026.2.19
npm openclaw(npm) <= 2026.2.17 No fix listed
openclaw < 2026.2.19 2026.2.19
npm openclaw(npm) < 2026.2.19 2026.2.19

References