Openclaw cli: OpenClaw's complex interpreter pipelines could skip exec script preflight validation (CVE-2026-34425)
Description
OpenClaw CLI versions up to 2026.4.1 have a vulnerability where complex interpreter pipelines can bypass exec script preflight validation, allowing script content validation to be skipped. This flaw weakens a defense-in-depth mechanism designed to block unsafe script execution. The issue is fixed in version 2026.4.2.
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
Before OpenClaw version 2026.4.2, the exec script preflight validation mechanism could fail open when handling complex interpreter invocations such as pipes or other non-simple command forms. This failure allowed script-content validation to be skipped entirely, enabling an attacker-controlled command shape to bypass the intended preflight validation. The vulnerability affects the openclaw npm package versions from 2026.1.29 up to but not including 2026.4.2. The fix was committed (commit 8aceaf5d0f0ec552b75a792f7f0a3bfa5b091513) and is included in version 2026.4.2.
Potential Impact
An attacker can craft complex command invocations that bypass the script preflight validation, potentially allowing unsafe or malicious script content to execute. This undermines a defense-in-depth control intended to prevent unsafe script execution, increasing the risk of executing harmful scripts.
Mitigation Recommendations
Upgrade to OpenClaw version 2026.4.2 or later, where the fail-open bypass in exec script preflight validation is fixed. No other mitigation is required as the fix is available and should be applied once the patched version is released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-34425
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
Threat ID: 6ac245b112601ec6a3166b24
Added to database: 10/04/2026, 12:25:21 UTC
Last enriched: 10/04/2026, 12:57:36 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.