Openclaw cli: OpenClaw exec allowlist safeBins short-option bypass could permit arbitrary file write (CVE-2026-32017)
Description
OpenClaw CLI versions up to 2026.2.17 have a vulnerability in the exec allowlist safeBins policy that allows bypass via short-option payloads, enabling unauthorized file write operations. This occurs when the tools.exec.security setting is allowlist and safeBins includes affected binaries. The issue is fixed in version 2026.2.19.
CVSS v3.1
Score 7.1high
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
The OpenClaw CLI's exec allowlist and safeBins policy can be bypassed using short-option payloads (e.g., 'sort -o/tmp/poc'), which circumvent safeBins argument validation. This bypass permits arbitrary file write operations that should have been blocked under the allowlist policy. The vulnerability affects openclaw versions up to and including 2026.2.17 and was fixed in 2026.2.19. The flaw was reported by security researchers and addressed in multiple commits.
Potential Impact
An attacker with limited privileges (PR:L) can exploit this vulnerability remotely (AV:N) without user interaction (UI:N) to perform unauthorized file write operations, potentially leading to integrity violations (I:H) and limited availability impact (A:L). Confidentiality is not affected. This could allow modification of files in the system, undermining security controls enforced by the safeBins policy.
Mitigation Recommendations
A patch is available and should be applied by upgrading openclaw to version 2026.2.19 or later. This update corrects the safeBins argument validation to prevent bypass via short-option payloads. Until patched, users should be aware of the risk when using tools.exec.security=allowlist with safeBins and consider restricting usage or applying additional controls.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-32017
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245db12601ec6a31680b5
Added to database: 10/04/2026, 12:26:03 UTC
Last enriched: 10/04/2026, 13:21:57 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.