GHSA-ggm6-h3mx-cmmp: Duplicate Advisory: safeBins stdin-only bypass via sort output and recursive grep flags
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-4685-c5cp-vp95. This link is maintained to preserve external references.
Original 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.
References
- github.com/advisories/GHSA-ggm6-h3mx-cmmp
- github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8520f
- github.com/openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95
- nvd.nist.gov/vuln/detail/CVE-2026-31996
- www.vulncheck.com/advisories/openclaw-safebins-stdin-only-bypass-via-sort-output-and-recursive-grep-flags
Code Behaviors & Features
Detect and mitigate GHSA-ggm6-h3mx-cmmp with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →