CVE-2026-22217

published 18 Mar 2026 · updated 23 Jun 2026

OpenClaw 2026.2.22 < 2026.2.23 - Arbitrary Binary Execution via $SHELL Environment Variable Trusted Prefix Fallback

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2026.2.23.

OpenClaw version 2026.2.22 prior to 2026.2.23 contains an arbitrary code execution vulnerability in shell-env that allows attackers to execute attacker-controlled binaries by exploiting trusted-prefix fallback logic for the $SHELL variable. An attacker can influence the $SHELL environment variable on systems with writable trusted-prefix directories such as /opt/homebrew/bin to execute arbitrary binaries in the OpenClaw process context.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenClaw>=2026.2.22 <2026.2.232026.2.23

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-22217 severity on Zeptric[![CVE-2026-22217](https://zeptric.io/badge/cve/CVE-2026-22217.svg)](https://zeptric.io/cve/CVE-2026-22217)