OpenClaw up to 2026.3.21 Environment Variable host-env-security-policy.json permissive list of allowed inputs

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 labeled as problematic has been found in OpenClaw up to 2026.3.21. This issue affects some unknown processing of the file host-env-security-policy.json of the component Environment Variable Handler. Executing a manipulation can lead to permissive list of allowed inputs. The identification of this vulnerability is CVE-2026-41387. The attack can only be executed locally. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in OpenClaw up to 2026.3.21. It has been declared as problematic. This vulnerability affects an unknown part of the file host-env-security-policy.json of the component Environment Variable Handler. The manipulation with an unknown input leads to a permissive list of allowed inputs vulnerability. The CWE definition for the vulnerability is CWE-183. The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.

The advisory is available at github.com. This vulnerability was named CVE-2026-41387 since 04/20/2026. The exploitation appears to be easy. Local access is required to approach this attack. Technical details are known, but there is no available exploit.

By approaching the search of inurl:host-env-security-policy.json it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 2026.3.22 eliminates this vulnerability.

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

Productinfo

Type

Name

Version

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: Permissive list of allowed inputs
CWE: CWE-183 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined
Google Hack: 🔒

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.22

Timelineinfo

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

Sourcesinfo

Product: github.com

Advisory: GHSA-j7p2-qcwm-94v4
Status: Confirmed

CVE: CVE-2026-41387 (🔒)
GCVE (CVE): GCVE-0-2026-41387
GCVE (VulDB): GCVE-100-360034

Entryinfo

Created: 04/28/2026 21:59
Changes: 04/28/2026 21:59 (77)
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!