CVE-2026-31996: Openclaw cli · OpenClaw safeBins stdin-only bypass via sort output and recursive grep flags
Affects openclaw-cliSource GCVE Database
Not known to be exploited · CVSS 3.6 Low : upgrade to 2026.7.1 when convenient.
Data as of 17 Nov 2026, 20:25 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.7.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade openclaw-cli to 2026.7.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade openclaw to version 2026.2.19 or later, where this vulnerability is patched. Until then, avoid enabling tools.exec.safeBins with configurations that allow sort output flags or recursive grep flags. No other mitigations are specified.
Description
Openclaw CLI versions up to 2026.2.17 have a vulnerability in the tools.exec.safeBins feature that allows bypassing intended stdin-only restrictions. This occurs when the sort command's output flags (-o/--output) or recursive grep flags are permitted, enabling unintended file writes or recursive file reads. The issue is fixed in versions 2026.2.19 and later.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-31996 (opens in a new tab)
- github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8520f (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- vulncheck.com/advisories/openclaw-safebins-stdin-only-bypass-via-sort-output-and-recursive-grep-flags (opens in a new tab)