CVE-2026-54174: melange Incomplete Package Integrity Verification Allows Vulnerability
HIGHCVE-2026-54174 is a HIGH (CVSS 8.3) incomplete package integrity verification allows vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting melange libraries in the Go ecosystem. The issue involves incomplete package integrity verification allows data section substitution. Remediation is available by upgrading affected packages to version 1.2.9, 0.50.4.
CVE-2026-54174 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-54174
To remediate this vulnerability, upgrade all affected melange dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade chainguard.dev/apko to 1.2.9
Upgrade chainguard.dev/melange to 0.50.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for chainguard.dev/apko
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-54174, inspect your project dependencies for melange:
inspect dependencies for chainguard.dev/apko
Analyze the terminal output to locate any version of melange in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In melange, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54174 Affected melange Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
chainguard.dev/apko
|
Go |
< 1.2.9
|
1.2.9
|
|
chainguard.dev/melange
|
Go |
< 0.50.4
|
0.50.4
|
References
Frequently Asked Questions
What is CVE-2026-54174?
Which melange versions are affected?
What version fixes CVE-2026-54174?
Is chainguard.dev/apko affected?
Is chainguard.dev/melange affected?
What is the CVSS score of CVE-2026-54174?
What CWE is associated with CVE-2026-54174?
How can I check Go dependencies for CVE-2026-54174?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fpg8-7664-jc5q",
"modified" : "2026-07-10T21:43:05Z",
"published" : "2026-07-10T21:43:05Z",
"aliases" : [ "CVE-2026-54174" ],
"summary" : "melange: Incomplete package integrity verification allows data section substitution",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "chainguard.dev/apko"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "chainguard.dev/melange"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.50.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/chainguard-dev/melange"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345", "CWE-354" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-10T21:43:05Z",
"nvd_published_at" : null
}
}