Loading...
Skip to main content

CVE-2026-54174 — Vulnerability in chainguard.dev/melange — CVE Details

HIGH

melange: Incomplete package integrity verification allows data section substitution

Published July 10, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published July 10, 2026 (94 days ago).
  • Last revised September 10, 2026 — 61 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update chainguard.dev/melange to 0.50.4 or later
go get chainguard.dev/melange@v0.50.4
Go
Update chainguard.dev/apko to 1.2.9 or later
go get chainguard.dev/apko@v1.2.9

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: go (2).

PackageEcosystemAffectedFixed In
chainguard.dev/melange
go
All versions0.50.4
chainguard.dev/apko
go
All versions1.2.9

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-54174?
melange: Incomplete package integrity verification allows data section substitution This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.3/10).
How do I check if my project is affected by CVE-2026-54174?
CVE-2026-54174 affects chainguard.dev/melange and chainguard.dev/apko. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54174 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.3

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-fpg8-7664-jc5q
GO-2026-5968

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies