Openclaw cli: In OpenClaw, manually adding sort to tools.exec.safeBins could bypass allowlist approval via --compress-program (CVE-2026-32010)
Description
OpenClaw CLI has a vulnerability (CVE-2026-32010) affecting non-default configurations where the 'sort' command is manually added to the safe-bin allowlist. This allows bypassing allowlist approval via the '--compress-program' flag, potentially running external programs without operator approval. Default installations are not affected as 'sort' is not included in safeBins by default. The issue is fixed in version 2026.2.22 and later.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenClaw CLI versions up to 2026.2.21-2 have a vulnerability when 'sort' is manually added to the 'tools.exec.safeBins' allowlist. The safe-bin profile for 'sort' permits the '--compress-program' flag, which can invoke an external program. In configurations using 'security=allowlist' with 'ask=on-miss', this flag can satisfy allowlist checks and bypass operator approval, allowing external code execution under the OpenClaw process context. The issue does not affect default installations as 'sort' is not included by default. The fix involves blocking the '--compress-program' flag in the safe-bin policy for 'sort' and adding regression tests. The patch is planned for release in version 2026.2.22.
Potential Impact
The vulnerability allows an attacker to bypass allowlist approval prompts in OpenClaw CLI deployments that explicitly include 'sort' in the safe-bin allowlist and use 'ask=on-miss'. This can lead to execution of external programs under the OpenClaw process context without expected operator approval, potentially compromising confidentiality, integrity, and availability of the system.
Mitigation Recommendations
A patch is available in OpenClaw CLI version 2026.2.22 and later that blocks the '--compress-program' flag in the safe-bin policy for 'sort'. Users should upgrade to version 2026.2.22 or later to remediate this issue. Default installations are not affected, so no action is required unless 'sort' has been manually added to the safe-bin allowlist.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-32010
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245db12601ec6a31680b6
Added to database: 10/04/2026, 12:26:03 UTC
Last enriched: 10/04/2026, 13:22:03 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.