CVE-2026-31996

low

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

https://www.vulncheck.com/advisories/openclaw-safebins-stdin-only-bypass-via-sort-output-and-recursive-grep-flags

https://github.com/openclaw/openclaw/security/advisories/GHSA-4685-c5cp-vp95

https://github.com/openclaw/openclaw/commit/2c05cbb43e48ebad03626d3125746fb1b9a8520f

Details

Source: Mitre, NVD

Published: 2026-03-19

Updated: 2026-03-19

Risk Information

CVSS v2

Base Score: 2.4

Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:N

Severity: Low

CVSS v3

Base Score: 3.6

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Severity: Low

CVSS v4

Base Score: 2

Vector: 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

Severity: Low