Advisory

GHSA-fpg8-7664-jc5q

Also known as: CVE-2026-54174, GO-2026-5968

Summary

melange: Incomplete package integrity verification allows data section substitution

Details

Previously, Apko 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-10 21:43 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

chainguard.dev/apko

Go · All systems

Affected

  • introduced 0, fixed 1.2.9 (semver)

Fixed versions

1.2.9

Fix

chainguard.dev/melange

Go · All systems

Affected

  • introduced 0, fixed 0.50.4 (semver)

Fixed versions

0.50.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences