NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

highCVSS 3.1 8.3GHSA-fpg8-7664-jc5q

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.

Published Jul 10, 2026

Affected packages

chainguard.dev/apko

Ecosystem
Go
Affected
< 1.2.9
Fixed in
1.2.9
Check
go list -m chainguard.dev/apko

chainguard.dev/melange

Ecosystem
Go
Affected
< 0.50.4
Fixed in
0.50.4
Check
go list -m chainguard.dev/melange

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to xnox, egibs.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries