Read the docs
TI-2026-39078 Aliases CVE-2026-54174GHSA-fpg8-7664-jc5q

melange: Incomplete package integrity verification allows data section substitution

Priority LOW 37CWE-345Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00155 4th percentileScored 2026-11-07
Fix Fixed melange (chainguard-dev): 0.50.4apko (chainguard-dev): 1.2.9+2 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chainguard-devmelangebefore 0.50.40.50.4Patch availableCNA
chainguard-devapkobefore 1.2.91.2.9Patch availableCNA
—chainguard.dev/apko (Go)before 1.2.91.2.9Patch availableGHSA-fpg8-7664-jc5q
—chainguard.dev/melange (Go)before 0.50.40.50.4Patch availableGHSA-fpg8-7664-jc5q
  • melange Vendorchainguard-dev Affected before 0.50.4 Fixed in 0.50.4 Patch available CNA
  • apko Vendorchainguard-dev Affected before 1.2.9 Fixed in 1.2.9 Patch available CNA
  • chainguard.dev/apko (Go) Vendor— Affected before 1.2.9 Fixed in 1.2.9 Patch available GHSA-fpg8-7664-jc5q
  • chainguard.dev/melange (Go) Vendor— Affected before 0.50.4 Fixed in 0.50.4 Patch available GHSA-fpg8-7664-jc5q

CPE names Threatist (inferred) · 2

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:chainguard:melange:*:*:*:*:*:*:*:*——chainguard-dev
cpe:2.3:a:chainguard:apko:*:*:*:*:*:*:*:*——chainguard-dev
  • cpe:2.3:a:chainguard:melange:*:*:*:*:*:*:*:* Versions — — ·chainguard-dev
  • cpe:2.3:a:chainguard:apko:*:*:*:*:*:*:*:* Versions — — ·chainguard-dev

Remediation

  • Fix · CNA melange (chainguard-dev) Fixed in 0.50.4
  • Fix · CNA apko (chainguard-dev) Fixed in 1.2.9
  • Fix · GHSA-fpg8-7664-jc5q chainguard.dev/apko (Go) Fixed in 1.2.9 Advisory →
  • Fix · GHSA-fpg8-7664-jc5q chainguard.dev/melange (Go) Fixed in 0.50.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54174
  2. 2026-10-03 Alias added: GHSA-fpg8-7664-jc5q

References

  • TI-2024-23955 apko Exposure of HTTP basic auth credentials in log output CVSS 3.1HIGH 7.5
  • TI-2026-22680 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory CVSS 3.1HIGH 8.2
  • TI-2026-83911 kaniko sends Azure access tokens to lookalike ACR registry hosts CVSS 3.1CRITICAL 9.3
  • TI-2026-30854 apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root CVSS 3.1HIGH 7.5
  • TI-2026-20302 apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attacker-controlled .apk streams CVSS 3.1HIGH 7.5
  • TI-2026-20284 apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside base CVSS 3.1HIGH 7.5
See all 25 →

Sources