kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster.…
Historical advisory recorded 25 Oct 2026 07:19:03 UTC. Read the latest advisory.
nvd · CVE-2026-28406
Publishedkaniko 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-28406
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-22
Original publisher date fields
published: 2026-02-27T22:16:23.513
lastModified: 2026-07-15T02:19:14.720
1 source CPE criteria · context only
- cpe:2.3:a:chainguard:kaniko:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON