A vulnerability in the kaniko project allows the build's Azure (Entra ID) access token to be sent to lookalike ACR registry hosts. This issue arises from the way kaniko handles registry interactions, potentially leading to unauthorized access to Azure resources. The vulnerability is tracked under CVE-2026-105769 and has been addressed in version 1.25.20 of the kaniko project.
CVE-2026-28406 is a high-severity vulnerability in Kaniko, a tool for building container images from a Dockerfile within a container or Kubernetes cluster. The issue, which exists from version 1.25.4 up to but not including 1.25.10, arises from Kaniko's insecure handling of tar entries during the extraction of build context archives. Specifically, the use of `filepath.Join(dest, cleanedName)` without proper path resolution allows a tar entry like `../outside.txt` to escape the extraction root, potentially writing files outside the intended destination directory. In environments where registry authentication is used, this vulnerability can be exploited in conjunction with Docker credential helpers to achieve code execution within the executor process. The vulnerability has been addressed in version 1.25.10, which utilizes securejoin for path resolution during tar extraction, effectively mitigating the issue.