CVE-2026-41294
OpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeover
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon GHSA.
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | openclaw | 2026.3.28 |
| minimos | openclaw | 2026.4.2-r0 |
Références
- https://github.com/openclaw/openclaw
- https://github.com/openclaw/openclaw/commit/6a793248024dca7685f63bcceb64a0096fd1586d
- https://github.com/openclaw/openclaw/releases/tag/v2026.3.28
- https://github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq
- https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-cwd-env-file