Openclaw cli: OpenClaw's tools.exec.safeBins generic fallback allowed interpreter-style inline payload execution in allowlist mode
Description
OpenClaw CLI versions up to 2026.2.21-2 have a vulnerability in the tools.exec.safeBins feature where a generic fallback safe-bin profile allowed interpreter-style binaries to execute inline payloads in allowlist mode. This issue requires explicit operator configuration to add such binaries, limiting impact to misconfigured deployments. A fix is planned in version 2026.2.22 that removes the generic fallback and requires explicit safe-bin profiles.
CVSS v4.0
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's tools.exec.safeBins feature used a permissive generic fallback profile for binaries without explicit safe-bin profiles. In allowlist mode, this allowed interpreter-style binaries (e.g., python3, node, ruby) to execute inline payloads via command-line flags like -c. This behavior requires that the operator explicitly add such binaries to safeBins, so the vulnerability affects only non-default or misconfigured deployments. The vulnerability is addressed by removing the generic fallback, requiring explicit safe-bin profiles, and adding configurable safeBinProfiles. The fix is planned for release in version 2026.2.22.
Potential Impact
The vulnerability allows interpreter-style binaries in the safeBins list to execute inline payloads in allowlist mode, potentially enabling unintended command execution. However, exploitation requires explicit operator configuration to include such binaries, limiting the impact to misconfigured environments. There are no known exploits in the wild.
Mitigation Recommendations
A patch is available in the planned next release version 2026.2.22 that removes the generic safe-bin fallback and requires explicit safe-bin profiles for binaries in safeBins. Operators should update to version 2026.2.22 or later once released. Until then, avoid adding interpreter-style binaries to safeBins without explicit safe-bin profiles.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-GHSA-8mf7-vv8w-hjr2
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac2458712601ec6a3164096
Added to database: 10/04/2026, 12:24:39 UTC
Last enriched: 10/04/2026, 12:32:30 UTC
Last updated: 10/04/2026, 12:32:30 UTC
Views: 2
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.
External Links
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.