OpenClaw up to 2026.3.30 Environment Variable OPENCLAW_BUNDLED_HOOKS_DIR inclusion of functionality from untrusted control sphere

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in OpenClaw up to 2026.3.30. Impacted is an unknown function of the component Environment Variable Handler. The manipulation of the argument OPENCLAW_BUNDLED_HOOKS_DIR results in inclusion of functionality from untrusted control sphere. This vulnerability was named CVE-2026-41336. The attack needs to be approached locally. There is no available exploit. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as problematic has been found in OpenClaw up to 2026.3.30. Affected is some unknown functionality of the component Environment Variable Handler. The manipulation of the argument OPENCLAW_BUNDLED_HOOKS_DIR 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 confidentiality, integrity, and availability. CVE summarizes:

OpenClaw before 2026.3.31 allows workspace .env files to override the OPENCLAW_BUNDLED_HOOKS_DIR environment variable, enabling loading of attacker-controlled hook code. Attackers can replace trusted default-on bundled hooks from untrusted workspaces to execute arbitrary code.

The weakness was presented by KeenSecurityLab as GHSA-3qpv-xf3v-mm45. The advisory is available at github.com. This vulnerability is traded as CVE-2026-41336 since 04/20/2026. The exploitability is told to be easy. Local access is required to approach this attack. Technical details are known, but there is no available exploit.

Upgrading to version 2026.3.31 eliminates this vulnerability. Applying the patch 330a9f98cb29c79b1c16a2117e03d6276a0d6289 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.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-0948). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Open Source OpenClaw

Productinfo

Type

Name

Version

License

Website

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: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 7.8
CNA Vector (VulnCheck): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: OpenClaw 2026.3.31
Patch: 330a9f98cb29c79b1c16a2117e03d6276a0d6289

Timelineinfo

04/20/2026 CVE reserved
04/24/2026 +4 days Advisory disclosed
04/24/2026 +0 days VulDB entry created
04/28/2026 +4 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-3qpv-xf3v-mm45
Researcher: KeenSecurityLab
Status: Confirmed

CVE: CVE-2026-41336 (🔒)
GCVE (CVE): GCVE-0-2026-41336
GCVE (VulDB): GCVE-100-359298
CERT Bund: WID-SEC-2026-0948 - OpenClaw: Mehrere Schwachstellen

Entryinfo

Created: 04/24/2026 07:57
Updated: 04/28/2026 09:24
Changes: 04/24/2026 07:57 (80), 04/28/2026 09:24 (7)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!