Skip to content
OpenAdvisories
High · 8.3 CVE-2026-54174 EUVD-2026-76767GHSA-fpg8-7664-jc5qGO-2026-5968

melange: Incomplete package integrity verification allows data section substitution

Published Sep 11, 2026 · Updated Sep 14, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
chainguard-dev melange < 0.50.4 —
chainguard-dev apko < 1.2.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apko 1.4.4-1.1 openSUSE-SU-2026:11829-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dagdotdev 0.0.20-r22 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go chainguard.dev/apko < 1.2.9 1.2.9 GHSA-fpg8-7664-jc5q
Go chainguard.dev/melange < 0.50.4 0.50.4 GHSA-fpg8-7664-jc5q

Advisories 2

References