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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | openclaw | 2026.3.28 | GHSA-8rh7-6779-cjqq |
Affected products (as reported)
Weakness: CWE-15 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-8rh7-6779-cjqq) vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env File third-party-advisory