CVE-2026-28406
February 27, 2026
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.
Affected Packages
https://github.com/chainguard-forks/kaniko.git (GITHUB):
Affected version(s) >=v1.25.4 <v1.25.10Fix Suggestion:
Update to version v1.25.10github.com/chainguard-dev/kaniko (GO):
Affected version(s) >=v1.25.4 <v1.25.10Fix Suggestion:
Update to version v1.25.10github.com/chainguard-forks/kaniko (GO):
Affected version(s) >=v1.25.4 <v1.25.10Fix Suggestion:
Update to version v1.25.10Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.23