# CVE-2026-54174: melange: Incomplete package integrity verification allows data section substitution

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-10T21:43:05.000Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-fpg8-7664-jc5q, GO-2026-5968
- Related: CGA-j75j-mqr9-628w
- Weaknesses: CWE-345, CWE-354
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- chainguard-dev melange: < 0.50.4
- chainguard-dev apko: < 1.2.9
- chainguard.dev/apko (Go): before 1.2.9
- chainguard.dev/melange (Go): before 0.50.4

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q> (advisory, web)
- <https://github.com/chainguard-dev/melange> (package)

## Sources

- CVE List: [CVE-2026-54174](https://www.cve.org/CVERecord?id=CVE-2026-54174), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-fpg8-7664-jc5q](https://github.com/advisories/GHSA-fpg8-7664-jc5q), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5968](https://pkg.go.dev/vuln/GO-2026-5968), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-54174](https://nvd.nist.gov/vuln/detail/CVE-2026-54174), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54174 · Whole record: https://cve.day/CVE-2026-54174.json · Rebuilt by cve.day 2026-11-25T22:59:38.150Z
