CVE-2026-54174 Details
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.
A vulnerability exists in Chainguard Melange versions prior to 0.50.4 and Apko versions prior to 1.2.9, due to incomplete verification of package integrity. While Apko correctly checked the control section hash against the signed APKINDEX, it failed to verify the data section hash, which includes the actual package files installed. This oversight allowed an attacker to substitute arbitrary file contents during a package fetch, provided they could compromise a mirror, poison a cache, or conduct a man-in-the-middle attack. The vulnerability arises from the control hash check passing while the data section could be manipulated.
Users can upgrade to Apko version 1.2.9 and Melange version 0.50.4 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 11, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
| CWE-354 | Improper Validation of Integrity Check Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chainguard.dev/apko | < 1.2.9 (semver) |
CPE
Remediation
| |
| chainguard.dev/melange | < 0.50.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2026 | New CVE Received | [email protected] |
Volerion