Live threats

All CVEs / Chainguard

CVE-2026-28406Chainguard Kaniko

High 8.2 No auth needed

Priority
64
CVSS 3.1
8.2
EPSS
—
Auth required
No
Published
Feb 27, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

What happens

kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster. Starting in version 1.25.4 and prior to version 1.25.10, kaniko unpacks build context archives using `filepath.Join(dest, cleanedName)` without enforcing that the final path stays within `dest`. A tar entry like `../outside.txt` escapes the extraction root and writes files outside the destination directory. In environments with registry authentication, this can be chained with docker credential helpers to achieve code execution within the executor process. Version 1.25.10 uses securejoin for path resolution in tar extraction.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kaniko.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/chainguard-dev/kaniko ≥ 1.25.4 < 1.25.10 1.25.10 go get github.com/chainguard-dev/kaniko@v1.25.10
Go github.com/chainguard-dev/kaniko ≥ 1.25.4 < 1.25.10 1.25.10 go get github.com/chainguard-dev/kaniko@v1.25.10

Per OSV / GitHub Advisories (GHSA-6rxq-q92g-4rmf, GO-2026-4580). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
chainguardkaniko≥ 1.25.4 < 1.25.10

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.