CVE-2026-54174

melange: Incomplete package integrity verification allows data section substitution

State
Published
Severity
8.3 High
Published
Sep 11, 2026
Updated
Sep 14, 2026
Reserved
Jun 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.3 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-354 Improper Validation of Integrity Check Value
  • CWE-345 Insufficient Verification of Data Authenticity

Affected Products

ProductVersions
melangechainguard-dev
  • < 0.50.4Affected
apkochainguard-dev
  • < 1.2.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.