CVE-2026-54174
JSON

8.3high

melange: Incomplete package integrity verification allows data section substitution

Severity
8.3high CVSS:3.1 by GitHub_M
Exploit likelihood
0.10% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-fpg8-7664-jc5qGO-2026-5968

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

Product or packageVersionsReported by
chainguard-dev melange< 0.50.4CVE List
chainguard-dev apko< 1.2.9CVE List
chainguard.dev/apko (Go)before 1.2.9GitHub Advisory Database, Go Vulnerability Database
chainguard.dev/melange (Go)before 0.50.4GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M8.3high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub8.3high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Classification

CWE-345CWE-354

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

Go Vulnerability Database

melange: Incomplete package integrity verification allows data section substitution in chainguard.dev/apko

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-54174 changed 2026-09-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-fpg8-7664-jc5q changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5968 changed 2026-07-22CC-BY-4.0
NVDCVE-2026-54174 changed 2026-09-30Public domain