Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openclaw | Openclaw | < 2026.2.19 |
Related Weaknesses (CWE)
References
- https://github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8Patch
- https://github.com/openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95Vendor Advisory
- https://www.vulncheck.com/advisories/openclaw-safebins-stdin-only-bypass-via-sorThird Party Advisory
FAQ
What is CVE-2026-31996?
CVE-2026-31996 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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 o...
How severe is CVE-2026-31996?
CVE-2026-31996 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31996?
Check the references section above for vendor advisories and patch information. Affected products include: Openclaw Openclaw.