CVE-2026-41294: OpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeover
(updated )
OpenClaw loaded the current working directory .env before trusted state-dir configuration, allowing untrusted workspace state to inject host environment values.
References
- github.com/advisories/GHSA-8rh7-6779-cjqq
- github.com/openclaw/openclaw
- github.com/openclaw/openclaw/commit/6a793248024dca7685f63bcceb64a0096fd1586d
- github.com/openclaw/openclaw/releases/tag/v2026.3.28
- github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq
- nvd.nist.gov/vuln/detail/CVE-2026-41294
Code Behaviors & Features
Detect and mitigate CVE-2026-41294 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →