Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-fpg8-7664-jc5q: melange: Incomplete package integrity verification allows data section substitution

0
High
Published: 07/10/2026 (07/10/2026, 21:43:05 UTC)
Source: GCVE Database
Product: chainguard.dev/apko

Description

Apko versions prior to 1.2.9 and 0.50.4 have an incomplete package integrity verification vulnerability. The software verified the control section hash against the signed APKINDEX but did not verify the data section hash, allowing substitution of package files without detection. This flaw enables an attacker who can compromise a mirror, cache, or perform a man-in-the-middle attack to replace package contents while passing control hash checks.

CVSS v3.1

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

Affected software

Goghsa
chainguard.dev/apko
Affected versions
<1.2.9
Goghsa
chainguard.dev/melange
Affected versions
<0.50.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/11/2026, 09:46:24 UTC

Technical Analysis

The vulnerability in Apko (chainguard.dev/apko) arises from incomplete package integrity verification. While the control section hash (such as .PKGINFO) was verified against the signed APKINDEX, the data section hash, which covers the actual files installed by the package, was not verified. This gap allows an attacker with the ability to compromise a package mirror, cache, or intercept package fetches to substitute arbitrary file contents without detection, as the control hash verification still passes. This issue affects versions prior to 1.2.9 and 0.50.4. The CVSS 3.1 vector indicates network attack complexity is high, no privileges required, user interaction required, scope changed, and high impact on confidentiality, integrity, and availability.

Potential Impact

An attacker capable of compromising a package mirror, poisoning a cache, or performing a man-in-the-middle attack can substitute arbitrary files in the package data section without detection. This can lead to full compromise of confidentiality, integrity, and availability of the system installing the package, as malicious or altered files may be installed despite passing control section hash verification.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using affected versions and obtain packages only from trusted, verified sources. Monitoring for updates from the vendor is recommended to apply any forthcoming patches addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-fpg8-7664-jc5q
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54174"]
Ecosystems
["Go"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a520eab68715ace438f49af

Added to database: 07/11/2026, 09:36:43 UTC

Last enriched: 07/11/2026, 09:46:24 UTC

Last updated: 07/12/2026, 03:38:49 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses