Vulnerability · Published Apr 20, 2026 · Assigned by VulnCheck

CVE-2026-41294OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env File

High 8.6

In plain English

A high-severity security flaw in OpenClaw from OpenClaw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.1%top 97.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmopenclaw2026.3.28GHSA-8rh7-6779-cjqq

Affected products (as reported)

VendorProductVersions
OpenClaw OpenClaw 0 – before 2026.3.28

Weakness: CWE-15 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References