ADVISORIES

Vulnerability

CVE-2026-28406

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.

4 advisories report this vulnerability, across 2 ecosystems.

High severity All Go 2openSUSE 2

Advisories

  • GHSA-6rxq-q92g-4rmf

    kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories

    High CVE-2026-28406 Go Updated 23 March 2026
  • GO-2026-4580

    kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories in github.com/chainguard-dev/kaniko

    CVE-2026-28406 Go Updated 23 March 2026
  • SUSE-SU-2026:1042-1

    Security update for govulncheck-vulndb

    CVE-2021-25320CVE-2025-14443CVE-2025-15558CVE-2025-62879 openSUSE Updated 26 March 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References