CVE-2026-41294
OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env File
- State
- Published
- Severity
- 8.5 High
- Published
- Apr 20, 2026
- Updated
- Apr 21, 2026
- Reserved
- Apr 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 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 | VulnCheck |
| 3.1 | 8.6 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-15 External Control of System or Configuration Setting
Affected Products
| Product | Versions |
|---|---|
OpenClawOpenClaw |
|
References
- GitHub Security Advisory (GHSA-8rh7-6779-cjqq)vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env Filethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.