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

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-01T00:02:42.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-8rh7-6779-cjqq
- Weaknesses: CWE-15, CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.3.28 (not affected: 2026.3.28)
- openclaw (npm): before 2026.3.28

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-41294](https://www.cve.org/CVERecord?id=CVE-2026-41294), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-8rh7-6779-cjqq](https://github.com/advisories/GHSA-8rh7-6779-cjqq), CC-BY-4.0, modified 2026-04-20
- NVD: [CVE-2026-41294](https://nvd.nist.gov/vuln/detail/CVE-2026-41294), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41294 · Whole record: https://cve.day/CVE-2026-41294.json · Rebuilt by cve.day 2026-11-25T22:59:19.072Z
