CVE-2026-28406Chainguard Kaniko
High 8.2 No auth needed
Follow: this CVE · Chainguard · Chainguard Kaniko We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Feb 27, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Kaniko.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/chainguard-dev/kaniko |
≥ 1.25.4 < 1.25.10 |
1.25.10 |
go get github.com/chainguard-dev/kaniko@v1.25.10 |
| Go | github.com/chainguard-dev/kaniko |
≥ 1.25.4 < 1.25.10 |
1.25.10 |
go get github.com/chainguard-dev/kaniko@v1.25.10 |
Per OSV / GitHub Advisories (GHSA-6rxq-q92g-4rmf, GO-2026-4580). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| chainguard | kaniko | ≥ 1.25.4 < 1.25.10 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1042-1 · Mar 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Patch Vendor Advisory
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com