Description
melange allows users to build apk packages using declarative pipelines. Apko prior to version 1.2.9, corresponding to melange prior to version 0.50.4, verified the control section hash (`.PKGINFO` etc.) against the signed `APKINDEX`, but never verified the data section hash (the actual package files that get installed). An attacker who could compromise a mirror, poison a cache, or MITM a package fetch could substitute arbitrary file contents while the control hash check still passed. Apko version 1.2.9 and melange version 0.50.4 contain a fix.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| chainguard-dev | melange | < 0.50.4 | — |
| chainguard-dev | apko | < 1.2.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apko | 1.4.4-1.1 | openSUSE-SU-2026:11829-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | dagdotdev | 0.0.20-r22 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | chainguard.dev/apko | < 1.2.9 | 1.2.9 | GHSA-fpg8-7664-jc5q |
| Go | chainguard.dev/melange | < 0.50.4 | 0.50.4 | GHSA-fpg8-7664-jc5q |
Advisories 2
- openSUSE-SU-2026:11829-1 apko-1.4.4-1.1 on GA media SUSE / openSUSE Security Updates · Sep 22, 2026
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026