Skip to main content

OpenClaw CVE-2026-41369

HIGH
Exposure of Resource to Wrong Sphere (CWE-668)
2026-04-28 disclosure@vulncheck.com
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with low-privilege credentials
  2. Delivery
    Submit request invoking host exec operation
  3. Exploit
    Inject malicious environment variables (DOCKER_REGISTRY, SSL_CERT_FILE, etc.)
  4. Install
    OpenClaw processes unsanitized variables
  5. C2
    Host exec redirects to attacker-controlled resources
  6. Execute
    Capture credentials or deliver malicious packages
  7. Impact
    Compromise host execution integrity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access with low-privilege credentials (PR:L) to OpenClaw instances. Exploitation specifically requires that the attacker can influence or inject environment variables processed during OpenClaw host exec operations - typically when submitting jobs, build requests, or deployment tasks that trigger external command execution. The vulnerability is exploitable against default configurations where environment variable sanitization is absent (versions pre-2026.3.31). Attack is limited by the need for valid user credentials and access to functionality that invokes host exec operations; purely API-based interactions without exec triggers are not vulnerable. Network accessibility (AV:N) means remote authenticated users can exploit without local system access.

Impact

Real-world risk is MODERATE-HIGH despite the 7.1 CVSS score. The CVSS:4.0 vector shows favorable attacker conditions: network-accessible (AV:N), low attack complexity (AC:L), no attack requirements (AT:N), and no user interaction (UI:N), with high confidentiality impact (VC:H). However, the PR:L (low privileges required) constraint significantly reduces the attack surface compared to unauthenticated scenarios. The Docker and registry override capabilities present supply chain attack vectors - attackers could inject malicious dependencies during build/deployment operations, potentially achieving code execution beyond the stated confidentiality impact. The 'Information Disclosure' tag suggests credential/secret exposure risk when TLS validation is bypassed. Key unknowns: EPSS probability data missing; no CISA KEV listing indicates no confirmed widespread exploitation; exploit code status unclear from available references. Prioritization depends heavily on whether OpenClaw instances are exposed to untrusted authenticated users and whether host exec operations process user-influenced environment contexts. Organizations using OpenClaw in CI/CD pipelines or multi-tenant environments face elevated risk due to potential lateral movement via compromised build environments.

Exploit ScenarioDerived

An authenticated attacker with low-privilege access to OpenClaw submits a request triggering host exec operations while injecting environment variables such as DOCKER_REGISTRY=attacker.com:5000 and NODE_TLS_REJECT_UNAUTHORIZED=0. OpenClaw's unsanitized exec handler uses these variables during a container pull or package install operation, redirecting requests to the attacker-controlled registry without TLS validation. The attacker's registry responds with credential challenges, capturing authentication tokens, or serves malicious packages/images that execute on the host system, potentially escalating beyond the initial confidentiality impact to achieve code execution or lateral movement in the infrastructure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Environment variable injection in OpenClaw (pre-2026.3.31) allows authenticated remote attackers to compromise host execution integrity by injecting malicious variables that override package managers, Docker registries, compiler paths, and TLS configurations during host exec operations. The vulnerability exhibits high confidentiality impact (CVSS:4.0 VC:H) with network attack vector and low complexity (AV:N/AC:L), requiring only low-privilege authentication (PR:L). VulnCheck disclosure indicates this affects Docker-related operations, with fixes available via GitHub commit eb8de67 and tracked under GHSA-cg7q-fg22-4g98. EPSS and KEV data not available at time of analysis.

RemediationAI

Upgrade to OpenClaw version 2026.3.31 or later, which implements proper environment variable sanitization for host exec operations per commit eb8de6715f02949c21c4e895fffc8a6dcb00975c available at https://github.com/openclaw/openclaw/commit/eb8de6715f02949c21c4e895fffc8a6dcb00975c. The patch adds filtering for package manager variables (NPM_CONFIG_*, PIP_INDEX_URL, etc.), registry configurations (DOCKER_REGISTRY, REGISTRY_AUTH_FILE), compiler paths (CC, CXX, LD_LIBRARY_PATH), and TLS override variables (SSL_CERT_FILE, NODE_TLS_REJECT_UNAUTHORIZED, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE). If immediate patching is not feasible, implement these compensating controls: (1) Restrict OpenClaw host exec operations to trusted administrative users only - remove PR:L access for untrusted accounts, trading reduced functionality for attack surface reduction; (2) Run OpenClaw processes in isolated containers with read-only root filesystems and explicit environment variable allowlists via seccomp/AppArmor profiles, which adds operational complexity but prevents variable injection at the container runtime level; (3) Monitor and alert on unexpected environment variable patterns in OpenClaw logs, particularly TLS_REJECT_UNAUTHORIZED=0 or non-standard registry URLs, though this provides detection rather than prevention. Consult VulnCheck advisory at https://www.vulncheck.com/advisories/openclaw-insufficient-environment-variable-sanitization-in-host-execution for additional context.

Affected Packages

npm openclaw fix: 2026.3.31

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenClaw's host execution component (CWE-668: Exposure of Resource to Wrong Sphere) fails to properly sanitize environment variables before executing commands on the host system. The vulnerability specifically targets variables controlling critical system dependencies: package manager configuration (NPM_CONFIG_*, PIP_*, etc.), container registry endpoints (DOCKER_REGISTRY, REGISTRY_AUTH), compiler toolchain paths (CC, CXX, PATH), and TLS/SSL certificate validation settings (SSL_CERT_FILE, REQUESTS_CA_BUNDLE, NODE_TLS_REJECT_UNAUTHORIZED). When OpenClaw performs host exec operations, it inherits or processes user-controlled environment variables without adequate filtering, allowing attackers to redirect dependency resolution to malicious sources, disable certificate validation, or execute attacker-controlled binaries. This is particularly critical in containerized environments where Docker and registry configurations can be hijacked to pull malicious images or leak credentials.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OpenClaw before 2026.3.31 contains insufficient environment variable sanitization in host exec operations, failing to filter package, registry, Docker, compiler, and TLS override variables. Attackers can exploit this by injecting malicious environment variables to override critical system configurations and compromise host execution integrity.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on openclaw (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.31.

Executive ViewAI

Why It Matters

OpenClaw versions prior to 2026.3.31 contain an environment variable injection vulnerability that allows authenticated users to manipulate package managers, Docker registries, and compiler configurations during host execution operations, potentially compromising build integrity and supply chain security. Any organization using OpenClaw for containerized deployments or CI/CD pipelines with multiple user accounts faces risk of malicious configuration injection by low-privilege users.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict host exec operation permissions to administrative accounts only, eliminating low-privilege user access; (2) Implement environment variable whitelisting at the OS/container level to prevent override of critical paths (package managers, Docker registries, TLS cert locations); (3) Monitor and audit environment variable modifications during OpenClaw host exec operations; (4) Apply GitHub commit eb8de67 manually if source-building is feasible pending official release of version 2026.3.31.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy