Skip to main content
← All vulnerabilities
CVE-2026-22217GHSA-P4WH-CR8M-GM6C

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.2.23
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenClaw OpenClaw

    From 2026.2.22 · fixed in 2026.2.23

  • openclawnpm

    From 2026.2.22 · fixed in 2026.2.23

References 3

GitHub · openclaw/openclaw

vulncheck.com