{"id":"CVE-2026-54174","published":"2026-09-11T21:05:30Z","modified":"2026-09-14T16:19:01Z","title":"melange: Incomplete package integrity verification allows data section substitution","vendor":"chainguard-dev","product":"melange","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.02414,"provenance":"source"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-fpg8-7664-jc5q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.48},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"chainguard-dev","affectedVersions":[{"vendor":"chainguard-dev","product":"melange","versions":["< 0.50.4"]},{"vendor":"chainguard-dev","product":"apko","versions":["< 1.2.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T16:18:49.717621Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"chainguard.dev/apko","vulnerableRanges":["<1.2.9"],"patched":["1.2.9"],"from":["GHSA-fpg8-7664-jc5q","GO-2026-5968"],"provenance":"source"},{"ecosystem":"Go","package":"chainguard.dev/melange","vulnerableRanges":["<0.50.4"],"patched":["0.50.4"],"from":["GHSA-fpg8-7664-jc5q","GO-2026-5968"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-76767","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-42574","published":"2026-05-09","fixed":"1.2.5","kev":false},{"cve":"CVE-2026-42575","published":"2026-05-09","fixed":"1.2.7","kev":false,"link":{"from":"CVE-2026-42575","to":"CVE-2026-54174","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:chainguard.dev/apko","fromFixed":"1.2.7","toFixed":"1.2.9","daysApart":125}]}},{"cve":"CVE-2026-42576","published":"2026-05-09","fixed":"1.2.7","kev":false},{"cve":"CVE-2026-54174","published":"2026-09-11","fixed":"1.2.9","kev":false}],"package":"Go:chainguard.dev/apko"}}