GHSA-6rxq-q92g-4rmf · Severity: high · Ecosystem: go — kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories
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.
Conclusion & alert: CVE-2026-28406 is rated Moderate Risk (48/100): CVSS High severity, with low exploitation likelihood (EPSS 0.56%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.07% | 0.56% | +0.49% |
| 2 | 2026-04-21 | 0.25% | 0.07% | -0.18% |
| 3 | 2026-03-31 | — | 0.25% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.2 | 3.1 | HIGH |
|
3.9 | 4.2 | [email protected] |
GHSA-6rxq-q92g-4rmf · Severity: high · Ecosystem: go — kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-28406 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| chainguard | kaniko | >= 1.25.4, < 1.25.10 | cpe:2.3:a:chainguard:kaniko:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221 | Patch |
| https://github.com/chainguard-forks/kaniko/pull/326 | Issue Tracking Patch |
| https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf | Patch Vendor Advisory |