{"id":"GO-2026-4580","revision":null,"records":[{"revision":"c1f6a47b2091432d90dc82d83c0a82f9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-28406","aliases":[],"title":"kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory","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.","state":0,"publishedAt":"2026-02-27T21:20:52.764+00:00","modifiedAt":"2026-07-15T01:11:46.081+00:00","affected":[{"ecosystem":"Vendor product","name":"kaniko","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"chainguard-forks\",\n                    \"product\": \"kaniko\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.25.4, < 1.25.10\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2,"severity":"HIGH"}],"references":["https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf","https://github.com/chainguard-forks/kaniko/pull/326","https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-28406","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-28406","identifiers":["CVE-2026-28406"]},"retained":false,"historicalAffected":[]},{"revision":"99972fec55a842b6ac8aef9ebcdad8fd","observedAt":"2026-11-23T21:36:57.719+00:00","statement":{"source":"euvd","id":"EUVD-2026-9077","aliases":["CVE-2026-28406","GHSA-6rxq-q92g-4rmf"],"title":"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)` …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","score":8.5,"severity":null}],"references":["https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf","https://github.com/chainguard-forks/kaniko/pull/326","https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-9077","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 27, 2026, 9:20:52 PM","dateUpdated":"Jul 15, 2026, 1:11:46 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-9077","identifiers":["EUVD-2026-9077","CVE-2026-28406","GHSA-6rxq-q92g-4rmf"]},"retained":false,"historicalAffected":[]},{"revision":"4c4be8d3ee374b6cb09f776ece86bdf4","observedAt":"2026-10-25T07:19:03.231+00:00","statement":{"source":"nvd","id":"CVE-2026-28406","aliases":[],"title":"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)` …","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.","state":0,"publishedAt":"2026-02-27T22:16:23.513+00:00","modifiedAt":"2026-07-15T02:19:14.72+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2,"severity":"HIGH"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","score":8.5,"severity":"HIGH"}],"references":["https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221","https://github.com/chainguard-forks/kaniko/pull/326","https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf","https://access.redhat.com/security/cve/CVE-2026-28406","https://bugzilla.redhat.com/show_bug.cgi?id=2443462","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28406.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-28406","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22"],"productCriteria":["cpe:2.3:a:chainguard:kaniko:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-02-27T22:16:23.513","lastModified":"2026-07-15T02:19:14.720"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-28406","identifiers":["CVE-2026-28406"]},"retained":false,"historicalAffected":[]},{"revision":"02e6550743ad4b16b5ce7941c8b14bad","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-6rxq-q92g-4rmf","aliases":["CVE-2026-28406","GO-2026-4580"],"title":"kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories","description":"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. Affected versions >= 1.25.4, <= 1.25.9.\n\n**Fix:** Merged with [PR #326](https://github.com/chainguard-forks/kaniko/pull/326) — uses securejoin for path resolution in tar extraction.\n\n**Acknowledgements**\n\nkaniko thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","state":0,"publishedAt":"2026-03-01T01:28:02+00:00","modifiedAt":"2026-03-23T04:56:13.7533583+00:00","affected":[{"ecosystem":"Go","name":"github.com/chainguard-dev/kaniko","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.25.4"},{"kind":"fixed","version":"1.25.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf","https://nvd.nist.gov/vuln/detail/CVE-2026-28406","https://github.com/chainguard-forks/kaniko/pull/326","https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221","https://github.com/chainguard-forks/kaniko","https://github.com/chainguard-forks/kaniko/releases/tag/v1.25.10"],"sourceUrl":"https://github.com/advisories/GHSA-6rxq-q92g-4rmf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6rxq-q92g-4rmf","identifiers":["GHSA-6rxq-q92g-4rmf","CVE-2026-28406","GO-2026-4580"]},"retained":false,"historicalAffected":[]},{"revision":"be0f808d220e478193c7e0b74fcb350f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-4580","aliases":["CVE-2026-28406","GHSA-6rxq-q92g-4rmf"],"title":"kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories in github.com/chainguard-dev/kaniko","description":"kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories in github.com/chainguard-dev/kaniko","state":0,"publishedAt":"2026-03-10T18:28:01+00:00","modifiedAt":"2026-03-23T04:52:46.798505+00:00","affected":[{"ecosystem":"Go","name":"github.com/chainguard-dev/kaniko","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.25.4"},{"kind":"fixed","version":"1.25.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/chainguard-forks/kaniko/security/advisories/GHSA-6rxq-q92g-4rmf","https://nvd.nist.gov/vuln/detail/CVE-2026-28406","https://github.com/chainguard-forks/kaniko/commit/a370e4b1f66e6e842b685c8f70ed507964c4b221","https://github.com/chainguard-forks/kaniko/pull/326","https://github.com/chainguard-forks/kaniko/releases/tag/v1.25.10"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-4580","license":"OSV · upstream source license applies","key":"osv:GO-2026-4580","identifiers":["GO-2026-4580","CVE-2026-28406","GHSA-6rxq-q92g-4rmf"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T19:24:56.8737941+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-24T19:24:56.8737941+00:00","lastSuccessAt":"2026-11-24T19:24:57.2988051+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:57.2988062+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-1affdc145f6b69b3c45f26e7200d5494d56b596b8a589028378609bf055cbdf9","complete":true,"records":431700,"lastAttemptAt":"2026-11-24T19:24:56.246467+00:00","lastSuccessAt":"2026-11-24T19:24:56.0174093+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:56.246467+00:00","snapshotPublishedAt":"2026-11-24T19:22:54+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-688c786e0e154f0aa5ebda26bfba5e3a","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T19:25:03.409988+00:00","lastSuccessAt":"2026-11-24T19:05:48.266+00:00","error":"94 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T19:05:48.266+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13877,"expectedIdentifiers":13982,"failedIdentifiers":94},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T19:24:56.8737941+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T19:24:56.8737941+00:00","lastSuccessAt":"2026-11-24T19:24:57.3217986+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:57.3218003+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a4d3d64b93df4d1da3938d27196fcba8","complete":true,"records":13947,"lastAttemptAt":"2026-11-24T19:25:01.6355516+00:00","lastSuccessAt":"2026-11-24T19:04:25.935+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:04:25.935+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13982,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-4929b8b852ac0d08034af08eb3f8801ac97c81d230bedb3a3a0710d6b4e692b2","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T19:24:56.6850757+00:00","lastSuccessAt":"2026-11-24T18:03:57.9682362+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:56.6850757+00:00","snapshotPublishedAt":"2026-11-24T17:33:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T19:24:56.4707087+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:56.4707087+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T19:24:56.7893892+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:56.7893892+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-44152768b3aabd79974e12387f59fcbffd2373284eb946ae9e13df00d985abde","complete":true,"records":233039,"lastAttemptAt":"2026-11-24T19:24:56.5789855+00:00","lastSuccessAt":"2026-11-24T19:03:58.5695229+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:24:56.5789855+00:00","snapshotPublishedAt":"2026-11-24T18:33:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}