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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.16%). Schedule for your next planned update.

Does your project use an affected chainguard.dev/melange version?

Paste your go.sum to check it for CVE-2026-54174 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

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 (139 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Go (2).

PackageFixed In
chainguard.dev/melange Go · Affected: All versions0.50.4
chainguard.dev/apko Go · Affected: 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. It has a 0.2% probability of exploitation within 30 days (EPSS score). 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

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.16%
EPSS percentile: 2.4

This is a below-median EPSS score — only 2.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

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

Related CVEs

  • CVE-2026-108262
    HIGH

    DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885

  • CVE-2026-130007
    HIGH

    k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum