In short
- CVE-2026-54174 is a HIGH (CVSS 8.3) vulnerability affecting chainguard.dev/apko, chainguard.dev/melange.
- Chance of exploitation in the next 30 days (EPSS): 0.15%, higher than 4.6% of all vulnerabilities.
- Fix: update to 1.2.9, 0.50.4 or later.
Description
Previously, Apko 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.
NVD 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.
More vulnerabilities in chainguard.dev/apko
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free