🛡️ CVE-2026-31996 — openclaw

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-184 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

OpenClaw safeBins stdin-only bypass via sort output and recursive grep flags

Summary

tools.exec.safeBins could be bypassed for filesystem access when sort output flags (-o / --output) or recursive grep flags were allowed through safe-bin execution paths.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.2.17
  • Patched versions: >= 2026.2.19
  • Latest published version at triage time: 2026.2.17

Impact

In deployments that enabled tools.exec.safeBins, an attacker with access to command execution flows could turn intended stdin-only safe-bin usage into file writes (sort -o) or recursive file reads (grep -R).

Fix Commit(s)

  • 2c05cbb43e48ebad03626d3125746fb1b9a8520f

Found using [MCPwner](https://github.com/Pigyon/MCPwner)

Thanks @nedlir for reporting.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability none.

Affected software

CVE-2026-31996 is recorded against 1 package.

  • openclaw

Timeline and source

Published on 19 February 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
www.vulncheck.com (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
CWE CWE-184
Public Exploit ✅ No
Source OSV
Published 2026-02-19
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
openclaw

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2026-31996?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-31996 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.