CVE-2026-54174

melange: Incomplete package integrity verification allows data section substitution

Published Sep 11, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fpg8-7664-jc5q melange: Incomplete package integrity verification allows data section substitution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Chainguard-dev
Chainguard-dev apko
Chainguard-dev melange
Vendors & Products Chainguard-dev
Chainguard-dev apko
Chainguard-dev melange
Type Values Removed Values Added
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.
Title melange: Incomplete package integrity verification allows data section substitution
Weaknesses CWE-345
CWE-354
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 4:19 PM
Reserved
Jun 11, 2026, 9:46 PM
Status
Deferred
Published
Sep 11, 2026, 9:17 PM
Modified
Sep 30, 2026, 7:57 PM