Bug 2443462 (CVE-2026-28406) - CVE-2026-28406 kaniko: kaniko: Arbitrary code execution via path traversal in build context archive unpacking
Summary: CVE-2026-28406 kaniko: kaniko: Arbitrary code execution via path traversal in...
Keywords:
Status: NEW
Alias: CVE-2026-28406
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2443504 2443505 2443506
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-27 22:02 UTC by OSIDB Bzimport
Modified: 2026-02-28 01:16 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-02-27 22:02:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.