CVE-2026-105769: kaniko Leaks Azure ACR Tokens to Lookalike Registry Hosts
What's the vulnerability?
kaniko's docker-credential-acr-env credential helper is responsible for attaching an Azure Entra ID (Azure AD) access token to requests made to Azure Container Registry (ACR). Prior to v1.25.20, the helper matched the destination registry hostname too loosely when deciding whether to attach that token.
This is a classic origin-validation failure (CWE-346) that results in insufficiently protected credentials (CWE-522): a lookalike hostname resembling the canonical *.azurecr.io pattern is enough to trigger token attachment. If a build pipeline pulls a crafted base image or resolves a FROM reference pointing at an attacker-controlled host that mimics an ACR domain, kaniko will hand that host a live bearer token. Because the token is a real Azure AD credential, it can then potentially be replayed against the victim's actual ACR instance, giving an attacker a path to read or tamper with container images in the legitimate registry.
Affected software
- Vendor/package:
github.com/chainguard-dev/kaniko - Affected versions: all versions before
1.25.20 - CVSS: 9.3 (critical)
Exploitation status
This vulnerability is currently rated theoretical — there is no known public PoC and it has not been observed weaponized in the wild. That status can change quickly for build-pipeline credential issues, and the severity (9.3) combined with the fact that CI/CD build hosts routinely hold privileged registry tokens means defenders should not wait for a public exploit before hardening and monitoring. Supply-chain and build-infrastructure bugs like this one are attractive targets precisely because a single leaked token can cascade into image tampering across downstream deployments.
How our detection catches it
We ship coverage across seven SIEM dialects for this CVE: Microsoft Sentinel (KQL), Splunk (SPL), Elastic (EQL), QRadar (AQL), Sumo Logic, Chronicle (YARA-L), and CrowdStrike (CQL).
The detection logic operates on two complementary signals:
- Vulnerable-version identification: surfacing build pipelines and CI hosts still running kaniko versions prior to
1.25.20, so vulnerable builders can be inventoried and patched before they're exploited. - Anomalous outbound token flow: identifying outbound, token-bearing requests originating from kaniko or CI build hosts that are destined for hosts resembling ACR naming conventions but that do not resolve to the canonical, allow-listed
*.azurecr.ioinfrastructure actually used by the environment — i.e., lookalike-domain egress correlated with credential-helper activity.
Together these give defenders both a proactive patch-management signal and a runtime trip-wire for the actual exploitation pattern: a build job talking to a registry host it shouldn't be talking to.
Full detection details
For the complete KQL, SPL, and other platform queries, investigation guidance, and atomic tests, see the full detection page: CVE-2026-105769 on df00tech.