Read the docs
TI-2026-22680 Aliases CVE-2026-28406GHSA-6rxq-q92g-4rmf

kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory

Priority MEDIUM 43CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00676 52nd percentileScored 2026-11-07
Fix Partial kaniko (chainguard-forks): 1.25.10github.com/chainguard-dev/kaniko (Go): 1.25.10Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chainguard-forkskaniko1.25.4 to before 1.25.101.25.10Patch availableCNA
—github.com/chainguard-dev/kaniko (Go)1.25.4 to before 1.25.101.25.10Patch availableGHSA-6rxq-q92g-4rmf
  • kaniko Vendorchainguard-forks Affected 1.25.4 to before 1.25.10 Fixed in 1.25.10 Patch available CNA
  • github.com/chainguard-dev/kaniko (Go) Vendor— Affected 1.25.4 to before 1.25.10 Fixed in 1.25.10 Patch available GHSA-6rxq-q92g-4rmf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:chainguard:kaniko:*:*:*:*:*:*:*:*1.25.4 to before 1.25.10Vulnerablechainguard-dev
  • cpe:2.3:a:chainguard:kaniko:*:*:*:*:*:*:*:* Versions 1.25.4 to before 1.25.10 Vulnerable ·chainguard-dev

Remediation

  • Fix · CNA kaniko (chainguard-forks) Fixed in 1.25.10
  • Fix · GHSA-6rxq-q92g-4rmf github.com/chainguard-dev/kaniko (Go) Fixed in 1.25.10 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift ServerlessAffected—

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-28406
  2. 2026-10-03 Alias added: GHSA-6rxq-q92g-4rmf

References

Sources