Kurz gesagt
- CVE-2026-31996 ist eine Schwachstelle (MITTEL (CVSS 4.4)) in openclaw (openclaw), openclaw.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.14%, höher als bei 3.8% aller Schwachstellen.
- Abhilfe: auf 2026.2.19 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| openclaw | < 2026.2.19
| 2026.2.19
|
| openclaw npm | < 2026.2.19
| 2026.2.19
|
Description
Summary
tools.exec.safeBins could be bypassed for filesystem access when sort output flags (-o / --output) or recursive grep flags were allowed through safe-bin execution paths.
Affected Packages / Versions
- Package:
openclaw (npm)
- Affected versions:
<= 2026.2.17
- Patched versions:
>= 2026.2.19
- Latest published version at triage time:
2026.2.17
Impact
In deployments that enabled tools.exec.safeBins, an attacker with access to command execution flows could turn intended stdin-only safe-bin usage into file writes (sort -o) or recursive file reads (grep -R).
Fix Commit(s)
2c05cbb43e48ebad03626d3125746fb1b9a8520f
Found using MCPwner
Thanks @nedlir for reporting.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free