CVE-2026-41294
HIGH 8.5CVSS 4.0OpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeover
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.
- Published
- 21 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-15CWE-426
- Also known as
- GHSA-8rh7-6779-cjqq
- Sources
- NVDJSONOSV GHSA-8rh7-6779-cjqqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.5 | 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 |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openclaw | openclawcpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* |
< 2026.3.28 | 2026.3.28 |
| OSV | npm | openclaw | < 2026.3.28 | 2026.3.28 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-cwd-env-file · Third Party Advisory
- https://github.com/openclaw/openclaw/commit/6a793248024dca7685f63bcceb64a0096fd1586d · WEB
- https://github.com/openclaw/openclaw · PACKAGE
- https://github.com/openclaw/openclaw/releases/tag/v2026.3.28 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Apr 2026)