Openclaw cli: OpenClaw has Inconsistent Host Exec Environment Override Sanitization (CVE-2026-35650)
Description
OpenClaw CLI versions prior to 2026.3.22 have an inconsistent sanitization issue in the handling of gateway host execution environment overrides. This flaw allows blocked or malformed override keys to bypass the shared host environment policy due to inconsistent sanitization paths. The vulnerability was fixed in version 2026.3.22 and later versions.
CVSS v3.1
Score 7.5high
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 had a vulnerability (CVE-2026-35650) where the gateway host execution environment override handling did not consistently apply the shared host environment policy. This inconsistency allowed blocked or malformed override keys to slip through due to inconsistent sanitization paths. The issue was addressed by introducing a shared sanitizer with fail-closed diagnostics for blocked or malformed keys, ensuring all environment overrides are sanitized before execution. The fix was implemented in version 2026.3.22 and remains in subsequent versions.
Potential Impact
This vulnerability could allow an attacker with limited privileges to bypass environment override restrictions, potentially leading to high impact including confidentiality, integrity, and availability compromises as indicated by the CVSS score of 7.5 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
Mitigation Recommendations
A patch is available and should be applied by upgrading to OpenClaw CLI version 2026.3.22 or later. The fix ensures consistent sanitization of environment overrides, preventing blocked or malformed keys from bypassing security policies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-35650
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245d812601ec6a316809c
Added to database: 10/04/2026, 12:26:00 UTC
Last enriched: 10/04/2026, 13:19:47 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.