8.3high
melange: Incomplete package integrity verification allows data section substitution
- Severity
- 8.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.10% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-fpg8-7664-jc5qGO-2026-5968
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
| Product or package | Versions | Reported by |
|---|---|---|
| chainguard-dev melange | < 0.50.4 | CVE List |
| chainguard-dev apko | < 1.2.9 | CVE List |
| chainguard.dev/apko (Go) | before 1.2.9 | GitHub Advisory Database, Go Vulnerability Database |
| chainguard.dev/melange (Go) | before 0.50.4 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
Go Vulnerability Database
melange: Incomplete package integrity verification allows data section substitution in chainguard.dev/apko
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54174 changed 2026-09-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fpg8-7664-jc5q changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5968 changed 2026-07-22 | CC-BY-4.0 |
| NVD | CVE-2026-54174 changed 2026-09-30 | Public domain |