CVE-2026-54174
8.3Chainguard · Melange and Apko
Melange and Apko fail to verify the data section hash of APK packages, allowing attackers to substitute malicious file contents while bypassing signature checks.
Executive summary
A critical integrity verification flaw in Melange and Apko could allow remote attackers to inject malicious code into software packages via supply chain manipulation.
Vulnerability
The software fails to perform integrity checks on the data sections of APK packages, only validating the control section against the signed APKINDEX. An unauthenticated attacker capable of performing a man-in-the-middle attack or cache poisoning can substitute package contents without triggering a security alert.
Business impact
The ability to inject arbitrary files into packages creates a severe risk of supply chain compromise. If exploited, an attacker could distribute backdoored binaries to downstream users, leading to unauthorized access, data theft, or total system compromise. With a CVSS score of 8.3, this vulnerability represents a high-risk vector for malicious code delivery that could bypass standard security controls.
Remediation
Immediate Action: Update Melange to version 0.50.4 or later, and update Apko to version 1.2.9 or later, to ensure data section integrity is properly enforced.
Proactive Monitoring: Review build pipelines and package repository traffic for signs of unauthorized access or unexpected modifications to package metadata and binary caches.
Compensating Controls: Implement strict transport layer security (TLS) for package fetching and use internal, trusted mirrors to minimize the risk of man-in-the-middle attacks or cache poisoning.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the potential for supply chain poisoning, organizations utilizing Melange or Apko must prioritize the identified updates. Failure to patch these tools leaves the build process vulnerable to silent code injection, which is difficult to detect once the malicious package is signed and deployed. Apply the recommended versions immediately to restore package integrity verification.
More Chainguard CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section