CVE-2026-31996
published low CVSS 4.0 · 2.0OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenClaw | — | OpenClaw0 to < 2026.2.19 (affected · semver) · 2026.2.19 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenClaw | OpenClaw | 0 to < 2026.2.19 (affected · semver)2026.2.19 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)
References
3- Patch Commit https://github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8520f
- GitHub Security Advisory (GHSA-4685-c5cp-vp95) https://github.com/openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95
- VulnCheck Advisory: OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags https://www.vulncheck.com/advisories/openclaw-safebins-stdin-only-bypass-via-sort-output-and-recursive-grep-flags
Provider assertions
2VulnCheck · cna
OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4f739612c147fd9183c469d045c08f1253b577f24a83e49b35b50080741cbdf3
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record