CVE-2026-41294
OpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeover
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según GHSA.
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | openclaw | 2026.3.28 |
| minimos | openclaw | 2026.4.2-r0 |
Referencias
- 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