All reports
High

melange: Incomplete package integrity verification allows data section substitution

Affected versions

Version ranges need review.

Affected versions
< 1.2.9
Fixed version
1.2.9
Affected versions
<1.2.9
Fixed version
1.2.9
Affected versions
<0.50.4
Fixed version
0.50.4
Affected versions
< 0.50.4
Fixed version
0.50.4

Exploitation

CVE-2026-54174

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-21

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.

Links

Credits

  • xnox
  • egibs