CVE-2025-62725docker compose
Alta 8.9 Sin autenticación
Seguir: esta CVE · docker · docker compose Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 4.0
- 8.9
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 27 oct 2025
- Actualizada
- 8 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Docker Compose trusts the path information embedded in remote OCI compose artifacts. When a layer includes the annotations com.docker.compose.extends or com.docker.compose.envfile, Compose joins the attacker‑supplied value from com.docker.compose.file/com.docker.compose.envfile with its local cache directory and writes the file there. This affects any platform or workflow that resolves remote OCI compose artifacts, Docker Desktop, standalone Compose binaries on Linux, CI/CD runners, cloud dev environments is affected. An attacker can escape the cache directory and overwrite arbitrary files on the machine running docker compose, even if the user only runs read‑only commands such as docker compose config or docker compose ps. This issue is fixed in v2.40.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para compose.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/docker/compose |
todas |
sin versión corregida | — |
| Go | github.com/docker/compose/v2 |
≥ 2.34.0 < 2.40.2 |
2.40.2 |
go get github.com/docker/compose/v2@v2.40.2 |
| Go | github.com/docker/compose/v2 |
< 2.40.2 |
2.40.2 |
go get github.com/docker/compose/v2@v2.40.2 |
Según OSV / GitHub Advisories (GO-2025-4077, GHSA-gv8h-7v7w-r22q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- docker · compose
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
- Security update for docker-compose · SUSE · SUSE-SU-2026:20949-1 · 27 mar 2026 Alta
- Security update for docker-compose · SUSE · SUSE-SU-2026:20976-1 · 27 mar 2026 Alta
Además: SUSE (+3)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.