CVE-2026-41294: Vulnerability in Openclaw
Critical. 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.
npm, CWE-426, CWE-15
- Exploitation
- None confirmed
- Severity
- 9.6 of 10
- Attack likelihood
- 0.2 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-8rh7-6779-cjqq
- EU ID
- EUVD-2026-23998
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Weakness
- CWE-426, CWE-15
- Published
- 1 Apr 2026
- Last change
- 11 Nov 2026
- Likelihood rank
- Higher than 5 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Openclaw Before 2026.3.28. Fixed in 2026.3.28
Affected packages
Vulnerable version ranges and fixed releases
- openclaw npm, Affected through 2026.3.24. Fixed in 2026.3.28
Advisories
Vendor and security advisories
- github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq
- vulncheck.com/advisories/openclaw-environment-variable-injection-via-cwd-env-file
Patches and fixes
Updates, commits and release notes
- github.com/openclaw/openclaw/commit/6a793248024dca7685f63bcceb64a0096fd1586d
- github.com/openclaw/openclaw/releases/tag/v2026.3.28
Related
- Openclaw vulnerabilities Recent advisories, watch this product