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.
CVE-2026-28406
This high-severity CVE scores 8.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.2
- EG Score
- 8.2(low)
- EPSS
- 45.0%
- KEV
- Not listed
Published
February 27, 2026
Last Modified
June 30, 2026
Advisory Details (6)
Auto-updated Jun 30, 20262443462 – (CVE-2026-28406) CVE-2026-28406 kaniko: kaniko: Arbitrary code execution via path traversal in build context archive unpacking
https://bugzilla.redhat.com/show_bug.cgi?id=2443462tar archive path traversal in build context extraction allows writing files outside destination directory · Advisory · chainguard-forks/kaniko · GitHub
https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmffix(util): use securejoin for path resolution in tar extraction
Patch available: chainguard-forks/kaniko v1.25.10 (PR #326 merged 2026-02-27)
https://github.com/chainguard-forks/kaniko/pull/326commit a370e4b1f66e (chainguard-forks/kaniko)
Patch available: chainguard-forks/kaniko v1.25.10 (contains commit a370e4b1f66e)
https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/chainguard-dev/kaniko | — | 1.25.10 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:40 UTCEG score recompute
- 2026-06-30 04:31 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-28406?
When was CVE-2026-28406 disclosed?
Is CVE-2026-28406 actively exploited?
What is the CVSS score of CVE-2026-28406?
How do I remediate CVE-2026-28406?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-28406
Is Your Infrastructure Affected by CVE-2026-28406?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.