External risk intelligence

Kaniko Azure AD Token Leakage to Registries

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-105769

This vulnerability occurs during the build process of container images using the kaniko tool. It is triggered by the build-time execution of a Dockerfile. Because this is a developer-centric, build-time operation occurring within CI/CD pipelines or local development environments, it lacks public internet-facing surface exposure in typical deployments.

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability in kaniko, a container image builder, could allow an attacker to steal Azure access tokens. This occurs when kaniko processes a Dockerfile that references an image from a seemingly legitimate but attacker-controlled registry. The stolen token could grant unauthorized access to Azure resources and other container registries.

  • Sensitive Azure tokens can be leaked.
  • Build processes may expose cloud credentials.
  • Confirm if build environments are affected.

Attack Path

How an attacker could exploit the issue

An attacker can trick the build process into sending a valuable access token to a registry they control. This happens when kaniko, a container image builder, uses a credential helper that incorrectly trusts hostnames. A specially crafted Dockerfile can cause kaniko to authenticate to a malicious registry, exposing Azure Resource Manager credentials that can then be used to access other cloud resources.

  • No prior access required.
  • Dockerfile referencing a fake registry.
  • Exposure of sensitive cloud credentials.

Live Threat

Current exploitation, exposure, and threat context

kaniko could leak Azure Active Directory access tokens to an attacker if it interacts with a lookalike Azure Container Registry host during image building. These tokens, once compromised, could be used to access Azure Resource Manager and any other Azure Container Registries the associated identity has permissions for.

  • Azure AD access tokens at risk.
  • Token sent to attacker-controlled host.
  • Unauthorized access to Azure resources.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts systems using kaniko for container image builds, specifically when interacting with Azure Container Registry. The primary responsibility for addressing this lies with teams managing CI/CD pipelines and container build environments, often platform or infrastructure teams, in coordination with security teams to assess exposure. The first practical step is to identify all kaniko build instances, confirm if they use Azure credentials, and then determine the criticality of affected build pipelines before planning remediation.

  • Platform or CI/CD teams own the fix.
  • Verify Azure credential usage in kaniko builds.
  • Plan remediation based on identified exposure.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is kaniko?

Kaniko is a tool used to build container images from a Dockerfile inside a container or Kubernetes cluster. Unlike traditional tools, it does not require a Docker daemon, making it popular for CI/CD pipelines where you need to build images securely in isolated environments without elevated privileges.

What is the vulnerability in CVE-2026-105769?

This is a credential leakage issue categorized as CWE-346 and CWE-522. Because of a flawed naming check in a credential helper, kaniko can be tricked into treating an attacker-controlled server as a legitimate Azure Container Registry. When the build references a malicious hostname, kaniko mistakenly sends sensitive Azure AD access tokens to the attacker.

How is this triggered?

An attacker triggers this by creating a Dockerfile that references an image from a lookalike registry host—one containing strings like '.azurecr.io'. The vulnerability does not require any malicious code execution or image pushing; simply referencing the lookalike registry in a build step causes the credential helper to transmit the Azure token automatically.

Is my environment at risk for CVE-2026-105769?

Halo Surface Signal indicates this risk is very unlikely to face the public internet directly. Because this vulnerability occurs during the image build process, it is confined to your internal development environments and CI/CD pipelines rather than public-facing services. Your primary concern is the security of your build-time identity and pipeline integrity.

How do I secure my kaniko builds?

First, identify all instances where kaniko is used and confirm if they have access to Azure credentials, such as managed identities or service principals. If you are using versions prior to 1.25.20, prioritize upgrading to that version or newer. Coordinate with your platform or CI/CD teams to audit build pipelines and remove untrusted registry references.

References