CVE Catalog

CVE-2026-54174

HighCVSS 8.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

4th percentile - higher than 4% of all known CVEs

Summary

Apko and melange verified only the control section hash (e.g. .PKGINFO) against the signed APKINDEX, but never verified the data section hash, i.e. the actual package files. An attacker able to compromise a mirror, poison a cache, or MITM a package fetch could substitute arbitrary file contents while the control hash check still passed.

Risk Assessment

An organization building apk packages may install modified, malicious files despite valid signature verification, leading to supply chain compromise. The risk includes arbitrary code execution and loss of system integrity.

Recommendation

Update Apko to version 1.2.9 or later and melange to version 0.50.4 or later. Until patched, avoid untrusted mirrors and package caches.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS