CVE-2026-28406: chainguard-forks kaniko Path Traversal
Vulnerability summary
CVE-2026-28406 is a high (CVSS 8.2) Path Traversal vulnerability in chainguard-forks kaniko. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 57.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 27-02-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
EPSS trend
Probability
0.85%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
+0.24 pp
From 0.61% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- kaniko≥ 1.25.4, < 1.25.10
Chainguard-forks1 product
- kaniko≥ 1.25.4, < 1.25.10
Github.com/chainguard-dev1 product
- kaniko≥ 1.25.4, < 1.25.10
3 vendors · 3 products
References
9 links- github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmfX Refsource CONFIRMWEBAdvisoryPatchVendor Advisory
- github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221X Refsource MISCWEBPatch