CVE-2026-41294
OpenClaw before 2026.3.28 loads the current working directory .env …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq
- www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-cwd-env-file
- github.com/openclaw/openclaw/commit/6a793248024dca7685f63bcceb64a0096fd1586d
- github.com/openclaw/openclaw/releases/tag/v2026.3.28
- github.com/advisories/GHSA-8rh7-6779-cjqq
- nvd.nist.gov/vuln/detail/CVE-2026-41294
- cve.org/CVERecord?id=CVE-2026-41294
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.