Openclaw cli: OpenClaw: safeBins static default trusted dirs allow writable-dir binary hijack (`jq`) (CVE-2026-32009)
Description
OpenClaw CLI versions up to 2026.2.23 have a vulnerability in the safeBins allowlist policy where static default trusted directories include writable package-manager paths like /opt/homebrew/bin and /usr/local/bin. An attacker with write access to these directories can place a malicious binary with the same name as a trusted executable (e.g., jq), causing OpenClaw to execute the attacker-controlled binary. This allows command execution within the OpenClaw runtime context. The issue is fixed in version 2026.2.24 by restricting trusted directories to immutable system paths and requiring explicit opt-in for user-managed paths.
CVSS v3.1
Score 5.7medium
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 <= 2026.2.23 rely on a safe-bin allowlist that trusts static default directories including package-manager and user-managed paths such as /opt/homebrew/bin and /usr/local/bin. Because trust decisions are based solely on directory membership, an attacker who can write a same-named binary (e.g., jq) into these directories can bypass the safeBins policy and achieve command execution in the OpenClaw runtime. The vulnerability is addressed in version 2026.2.24 by limiting default trusted directories to immutable system paths (/bin, /usr/bin) and requiring explicit operator opt-in for other paths via configuration.
Potential Impact
This vulnerability allows an attacker with write access to certain trusted directories to execute arbitrary commands within the OpenClaw runtime context by hijacking binaries. The impact is limited by the prerequisite that the attacker must have the ability to write to these trusted directories. The CVSS score is 5.7 (medium severity) reflecting the required privileges and potential for command execution.
Mitigation Recommendations
A patch is available in OpenClaw version 2026.2.24 which restricts default safe-bin trusted directories to immutable system paths and requires explicit opt-in for package-manager or user-managed paths. Users should upgrade to version 2026.2.24 or later to remediate this vulnerability. No additional mitigation is required once patched.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-32009
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245bf12601ec6a3166bfe
Added to database: 10/04/2026, 12:25:35 UTC
Last enriched: 10/04/2026, 13:05:50 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 1
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.