{"id":"CVE-2026-54174","state":"PUBLISHED","title":"melange: Incomplete package integrity verification allows data section substitution","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.","publishedAt":"2026-09-11T21:05:30.789Z","updatedAt":"2026-09-14T16:19:01.111Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["chainguard-dev melange","chainguard-dev apko"],"affected":[{"vendor":"chainguard-dev","product":"melange","versions":[{"version":"< 0.50.4","status":"affected"}]},{"vendor":"chainguard-dev","product":"apko","versions":[{"version":"< 1.2.9","status":"affected"}]}],"references":["https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q"],"weaknesses":["CWE-354","CWE-345"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54174.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54174","state":"PUBLISHED","datePublished":"2026-09-11T21:05:30.789Z","dateUpdated":"2026-09-14T16:19:01.111Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-11T21:46:52.381Z"},"containers":{"cna":{"title":"melange: Incomplete package integrity verification allows data section substitution","descriptions":[{"lang":"en","value":"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":[{"vendor":"chainguard-dev","product":"melange","versions":[{"version":"< 0.50.4","status":"affected"}]},{"vendor":"chainguard-dev","product":"apko","versions":[{"version":"< 1.2.9","status":"affected"}]}],"references":[{"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q","name":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-354","lang":"en","description":"CWE-354: Improper Validation of Integrity Check Value","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-345","lang":"en","description":"CWE-345: Insufficient Verification of Data Authenticity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-11T21:05:30.789Z"},"source":{"advisory":"GHSA-fpg8-7664-jc5q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T16:18:49.717621Z","id":"CVE-2026-54174","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T16:19:01.111Z"}}]}}}