CVE-2026-105769
KritikTeknik Veri (Otomatik)
- CVSS Skoru
- 9.3
- EPSS
- 0.2%
- CWE
- CWE-346
- KEV Durumu
- Hayır
Yayım tarihi: 2 Kasım 2026
kaniko 1.25.20 sürümünden önce, bir saldırganın kontrol ettiği kayıt defteri ana bilgisayarına Azure Kaynak Yöneticisi için bir Microsoft Entra ID (Azure AD) erişim jetonunu gönderebilir. kaniko, Azure Container Registry kimlik bilgileri yardımcı programı github.com/chrismellard/docker-credential-acr-env kullanır ve bu yardımcı program, bir ana bilgisayarın ACR kayıt defteri olup olmadığını belirlemek için köksüz bir düzenli ifade kullanır, böylece .azurecr.io, .azurecr.cn, .azurecr.de veya .azurecr.us ile biten herhangi bir ana bilgisayar adı kabul edilir. kaniko, Docker yapılandırmasındaki hiçbir kimlik bilgisi olmayan ve Google veya Amazon ECR kayıt defteri olmayan herhangi bir kayıt defteri için bu yardımcıya danışır ve daha sonra kayıt defteriyle iletişim kurar. Bir Dockerfile dosyası, x.azurecr.io.attacker.com/img gibi bir benzeti ana bilgisayar上的 bir görüntüye atıfta bulunursa veya COPY --from=<image> gibi bir komut içerirse, yardımcı program build'in Azure kimliğinden (hizmet prensibi ortam değişkenleri, federated workload kimlik jetonu veya yönetilen kimlik) bir jeton alır ve bunu https://<host>/oauth2/exchange adresine POST eder. Saldırgan, jetonu Azure Kaynak Yöneticisi üzerinde kimliğin rol atamalarıyla birlikte kullanabilir ve bu jetonu erişebileceği herhangi bir ACR kayıt defterine ait kimlik bilgileriyle değiştirebilir. Hiçbir RUN komutu veya push işlemi gerekmez. Bu sorun 1.25.20 sürümünde çözülmüştür.
Orijinal açıklama (İngilizce)
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.
Referanslar
- https://github.com/chainguard-forks/kaniko/pull/495
- https://github.com/chainguard-forks/kaniko/releases/tag/v1.25.20
- https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-5q7h-w9jf-cx97
- https://github.com/chrismellard/docker-credential-acr-env/issues/21
- https://pkg.go.dev/vuln/GO-2026-6225
Bu CVE için henüz editoryal inceleme yapılmadı. Sadece otomatik teknik veri gösteriliyor.