Vulnerabilities

CVE-2026-22217

Medium 5.8 CVSS 4.0

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-03-18
Last modified
2026-06-17
Assigned by
disclosure@vulncheck.com
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Scored by
disclosure@vulncheck.com
Probability of exploitation
0.1 % higher than 3 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
openclaw (npm) ≥ 2026.2.22, < 2026.2.23 Affected
Openclaw Openclaw ≥ 2026.2.22, < 2026.2.23 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1055: Process Injection stealth, privilege-escalation
  • T1176: Software Extensions persistence
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1505.004: IIS Components persistence
  • T1505.005: Terminal Services DLL persistence
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.013: KernelCallbackTable stealth, execution
  • T1620: Reflective Code Loading stealth

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities