Vulnerability · Published Sep 11, 2026 · Assigned by GitHub_M
CVE-2026-54174melange: Incomplete package integrity verification allows data section substitution
High 8.3
In plain English
A high-severity insufficient verification of data authenticity in apko from chainguard-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | chainguard.dev/apko | 1.2.9 | GO-2026-5968 |
| Go | chainguard.dev/apko | 1.2.9 | GHSA-fpg8-7664-jc5q |
| Go | chainguard.dev/melange | 0.50.4 | GO-2026-5968 |
| Go | chainguard.dev/melange | 0.50.4 | GHSA-fpg8-7664-jc5q |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| chainguard-dev | melange | < 0.50.4 |
| chainguard-dev | apko | < 1.2.9 |
Weakness: CWE-354, CWE-345 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H