CVE-2026-41294 OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env File
HighCVSS 8.5
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.3.28 | 2026.3.28 | Fixed |
| npm openclaw(npm) | < 2026.3.28; <= 2026.3.24 | 2026.3.28 | Fixed |
| openclaw | < 2026.3.28 | 2026.3.28 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.3.28 | 2026.3.28 |
| npm openclaw(npm) | <= 2026.3.24 | No fix listed |
| openclaw | < 2026.3.28 | 2026.3.28 |
| npm openclaw(npm) | < 2026.3.28 | 2026.3.28 |
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
- github.com patch
- github.com
- github.com
- github.com product