Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-28406

published high CVSS 3.1 · 8.2

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

Published
27 Feb 2026, 21:20:52 UTC
Updated
15 Jul 2026, 01:11:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
chainguard-forks — kaniko>= 1.25.4, < 1.25.10 Affected Not stated GitHub_M
Red Hat — openshift-serverless-1/kn-client-kn-rhel9OpenShift Serverless Unknown Not stated redhat-SADP
Red Hat — openshift-serverless-1/kn-plugin-func-func-util-rhel9OpenShift Serverless Unknown Not stated redhat-SADP
Red Hat — openshift-serverless-clientsOpenShift Serverless Unknown Not stated redhat-SADP

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in kaniko, a tool used to build container images. A remote attacker can exploit this vulnerability by providing a specially crafted build context archive that contains path traversal sequences. This allows files to be written outside the intended destination directory during archive unpacking. When chained with docker credential helpers in environments with registry authentication, this can lead to arbitrary code execution within the executor process.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
chainguard-forks kaniko >= 1.25.4, < 1.25.10 (affected) GitHub_M · cna
Red Hat OpenShift Serverless Default: unknown redhat-SADP · adp
Red Hat OpenShift Serverless Default: unknown redhat-SADP · adp
Red Hat OpenShift Serverless Default: unknown redhat-SADP · adp

Weaknesses

2
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (GitHub_M · cna)
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (redhat-SADP · adp)

References

6

Provider assertions

3

GitHub_M · cna

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

redhat-SADP · adp

kaniko: kaniko: Arbitrary code execution via path traversal in build context archive unpacking

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
947e94883d9128b4d8139ea57e2b1901709f72c4b4f069fd68fd2e611e0b59e6
Ingested
23 Sep 2026, 09:08:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected