CVE-2026-28406: chainguard-forks kaniko · Path Traversal
Affects chainguard-forks kanikoSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 1.25.10 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.25.10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade kaniko and chainguard-forks/kaniko to 1.25.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| chainguard-forkskaniko | Affected
| Fixed in
|
GitHubchainguard-forks/kanikopkg:github/chainguard-forks/kanikoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version, 1.25.10, is available that addresses this vulnerability by using secure path resolution. Users should upgrade to version 1.25.10 or later to remediate this issue. There is no indication that temporary mitigations or workarounds are provided by the vendor. Patch status is confirmed by the vendor advisory.
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.
References
- github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf (opens in a new tab)
- github.com/chainguard-forks/kaniko/pull/326 (opens in a new tab)
- github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-28406 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2443462 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28406.json (opens in a new tab)