Skip to main content

OpenClaw CVE-2026-41294

HIGH
External Control of System or Configuration Setting (CWE-15)
2026-04-21 disclosure@vulncheck.com GHSA-8rh7-6779-cjqq
8.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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:X/V:X/RE:X/U:X
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

5
Re-analysis Queued
Apr 21, 2026 - 16:22 vuln.today
cvss_changed
Patch released
Apr 21, 2026 - 02:30 nvd
Patch available
Analysis Generated
Apr 21, 2026 - 00:38 vuln.today
Analysis Generated
Apr 21, 2026 - 00:22 vuln.today
CVE Published
Apr 21, 2026 - 00:16 nvd
HIGH 8.5

Blast Radius

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

Ecosystem-wide dependent count for version 2026.3.28.

DescriptionCVE.org

OpenClaw before 2026.3.28 loads the current working directory .env file before trusted state-dir configuration, allowing environment variable injection. Attackers can place a malicious .env file in a repository or workspace to override runtime configuration and security-sensitive environment settings during OpenClaw startup.

AnalysisAI

OpenClaw versions before 2026.3.28 allow local attackers to inject malicious environment variables by placing a .env file in the current working directory, which is loaded before trusted state-directory configuration during application startup. This enables attackers to override security-sensitive runtime settings without privileges, achieving high confidentiality, integrity, and availability impact with low complexity when a user launches OpenClaw from a compromised directory. Exploitation probability is minimal (EPSS 0.01%, percentile 2%) with no active exploitation confirmed (not in CISA KEV), but a public advisory from VulnCheck describes the attack mechanism, making exploitation straightforward for local threat actors.

Technical ContextAI

This vulnerability stems from improper handling of .env configuration file precedence (CWE-15: External Control of System or Configuration Setting). OpenClaw loads environment variables from a .env file in the current working directory before processing its trusted state-directory configuration. Environment variable injection attacks exploit application trust in externally-controlled configuration sources. In this case, the application's search path prioritizes user-controlled directories over secure system directories, violating the principle of secure defaults. When users clone malicious repositories or navigate to attacker-controlled directories before launching OpenClaw, the untrusted .env file is processed during initialization, allowing arbitrary environment variable manipulation. This pattern commonly affects containerized applications, development tools, and CLI utilities that use .env files for configuration management, and represents a broader class of supply chain and workspace-based attacks.

RemediationAI

Upgrade to OpenClaw version 2026.3.28 or later, which addresses the configuration file precedence issue by loading trusted state-directory settings before processing current working directory .env files. The patch is available from the official OpenClaw GitHub repository per security advisory GHSA-8rh7-6779-cjqq. Until patching is complete, implement these compensating controls with their trade-offs: (1) Launch OpenClaw only from trusted directories outside user-controlled workspaces-reduces productivity for developers who need to work in project directories; (2) Configure file system monitoring to alert on .env file creation in common working directories-generates operational overhead and may produce false positives; (3) Use read-only mounting for untrusted repositories when reviewing third-party code-prevents normal development workflows requiring file modification; (4) Implement mandatory code review for .env files in all cloned repositories before launching OpenClaw-adds manual review burden to development process. Organizations should also educate users about workspace-based attacks and establish secure directory policies for running development tools. Review and audit existing .env files in OpenClaw working directories for unauthorized modifications.

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-32064 HIGH POC
7.7 Mar 21

OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all

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

CVE-2026-32048 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low

CVE-2026-25474 HIGH POC
7.5 Feb 19

OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec

Share

CVE-2026-41294 vulnerability details – vuln.today

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