Vulnerability in Openclaw
CVE-2026-22217
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L.
EPSS exploit prediction
EPSS 0.001, 3.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openclaw — versions 2026.2.22
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-p4wh-cr8m-gm6c) (vendor-advisory, third-party-advisory, Vendor Advisory)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: OpenClaw 2026.2.22 < 2026.2.23 - Arbitrary Binary Execution via $SHELL Environment Variable Trusted Prefix Fallback (Third Party Advisory, third-party-advisory)