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…
EPSS 0.2%top 95%

CVE-2026-42575: CWE-345: Insufficient Verification of Data Authenticity in chainguard-dev apko

0
High
VulnerabilityCVE-2026-42575cvecve-2026-42575cwe-345cwe-494
Published: 05/09/2026 (05/09/2026, 19:26:27 UTC)
Source: CVE Database V5
Vendor/Project: chainguard-dev
Product: apko

Description

apko allows users to build and publish OCI container images built from apk packages. Prior to version 1.2.7, apko verifies the signature on APKINDEX.tar.gz but never compares individually downloaded .apk packages against the checksum recorded in the signed index. The checksum is parsed and available via ChecksumString(), and the downloaded package control hash is computed, but the two values are never compared in getPackageImpl(). Mismatched packages are silently accepted. An attacker who can substitute download responses (compromised mirror, HTTP repository, poisoned CDN cache) can install arbitrary packages into built images. This issue has been patched in version 1.2.7.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
chainguard-dev/apko
pkg:github/chainguard-dev/apko
Affected versions
<1.2.7

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: 05/17/2026, 09:35:19 UTC

Technical Analysis

The vulnerability in apko versions before 1.2.7 involves insufficient verification of data authenticity (CWE-345). While the signature on the APKINDEX.tar.gz file is verified, the checksums of individual .apk packages downloaded are not compared against the signed index checksums. The checksum values are parsed and available, and the package hash is computed, but the comparison is never performed in the getPackageImpl() function. This flaw allows an attacker capable of intercepting or manipulating package downloads (e.g., via compromised mirrors, HTTP repositories, or poisoned CDN caches) to inject arbitrary packages into container images built by apko. The vulnerability is tracked as CVE-2026-42575 with a CVSS 3.1 base score of 7.5 (high severity), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and an impact on integrity but not confidentiality or availability. The issue has been patched in apko version 1.2.7.

Potential Impact

An attacker who can substitute download responses can cause apko to silently accept and install arbitrary packages into OCI container images. This compromises the integrity of the built images, potentially allowing malicious code inclusion. There is no impact on confidentiality or availability indicated. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade apko to version 1.2.7 or later, where this vulnerability has been patched. Prior to upgrading, be cautious of using untrusted mirrors or HTTP repositories for package downloads. Patch status is not explicitly stated but the description confirms the issue is fixed in version 1.2.7.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-28T17:26:12.085Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ff8cbdcbff5d86106ac33b

Added to database: 05/09/2026, 19:36:29 UTC

Last enriched: 05/17/2026, 09:35:19 UTC

Last updated: 06/28/2026, 08:51:25 UTC

Views: 147

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