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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.19 | 2026.2.19 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.19 | 2026.2.19 | GHSA-4685-c5cp-vp95 |
Advisories 1
- WID-SEC-2026-0465 OpenClaw (safeBins): Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 23, 2026
References
- GitHub Security Advisory (GHSA-4685-c5cp-vp95) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags third-party-advisory