p PatchFirst

CVE-2026-31996

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 2.0 · Low · EPSS 0.1% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • openclaw

    Versions
    • ≥ 0, < 2026.2.19: Affected (semver)
    • 2026.2.19: Not affected (semver)

    Update to 2026.2.19

  • openclaw npm

    Affected ranges
    • SEMVER: < 2026.2.19

    Update to 2026.2.19

Original sources

Check your server →