CVE-2026-22217 | OpenClaw up to 2026.2.22 Environment Variable /opt/homebrew/bin SHELL inclusion of functionality from untrusted control sphere (GHSA-p4wh-cr8m-gm6c)
VulDBArchived Mar 18, 2026✓ Full text saved
A vulnerability was found in OpenClaw up to 2026.2.22 . It has been declared as problematic . This issue affects some unknown processing of the file /opt/homebrew/bin of the component Environment Variable Handler . Such manipulation of the argument SHELL leads to inclusion of functionality from untrusted control sphere. This vulnerability is documented as CVE-2026-22217 . The attack needs to be performed locally. There is not any exploit available. It is recommended to upgrade the affected compo
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-351477 · CVE-2026-22217 · GHSA-P4WH-CR8M-GM6C
OPENCLAW UP TO 2026.2.22 ENVIRONMENT VARIABLE /OPT/HOMEBREW/BIN SHELL INCLUSION OF FUNCTIONALITY FROM UNTRUSTED CONTROL SPHERE
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.4 $0-$5k 0.44+
Summaryinfo
A vulnerability was found in OpenClaw up to 2026.2.22. It has been rated as problematic. Impacted is an unknown function of the file /opt/homebrew/bin of the component Environment Variable Handler. Performing a manipulation of the argument SHELL results in inclusion of functionality from untrusted control sphere. This vulnerability is reported as CVE-2026-22217. The attack requires a local approach. No exploit exists. Upgrading the affected component is advised.
Detailsinfo
A vulnerability classified as problematic has been found in OpenClaw up to 2026.2.22. This affects an unknown function of the file /opt/homebrew/bin of the component Environment Variable Handler. The manipulation of the argument SHELL with an unknown input leads to a inclusion of functionality from untrusted control sphere vulnerability. CWE is classifying the issue as CWE-829. The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. This is going to have an impact on integrity, and availability. The summary by CVE is:
OpenClaw version 2026.2.22 prior to 2026.2.23 contain 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.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2026-22217 since 01/06/2026. The exploitability is told to be difficult. An attack has to be approached locally. Technical details are known, but no exploit is available.
Upgrading to version 2026.2.23 eliminates this vulnerability. Applying the patch ff10fe8b91670044a6bb0cd85deb736a0ec8fb55 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Type
Artificial Intelligence Software
Name
OpenClaw
Version
2026.2.0
2026.2.1
2026.2.2
2026.2.3
2026.2.4
2026.2.5
2026.2.6
2026.2.7
2026.2.8
2026.2.9
2026.2.10
2026.2.11
2026.2.12
2026.2.13
2026.2.14
2026.2.15
2026.2.16
2026.2.17
2026.2.18
2026.2.19
2026.2.20
2026.2.21
2026.2.22
License
open-source
Website
Product: https://github.com/openclaw/openclaw/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.6
VulDB Temp Score: 3.5
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.3
CNA Vector (VulnCheck): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Inclusion of functionality from untrusted control sphere
CWE: CWE-829
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: OpenClaw 2026.2.23
Patch: ff10fe8b91670044a6bb0cd85deb736a0ec8fb55
Timelineinfo
01/06/2026 CVE reserved
03/18/2026 +71 days Advisory disclosed
03/18/2026 +0 days VulDB entry created
03/18/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-p4wh-cr8m-gm6c
Status: Confirmed
CVE: CVE-2026-22217 (🔒)
GCVE (CVE): GCVE-0-2026-22217
GCVE (VulDB): GCVE-100-351477
Entryinfo
Created: 03/18/2026 07:07
Changes: 03/18/2026 07:07 (80)
Complete: 🔍
Cache ID: 99:4D6:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸