CVE-2026-42575CWE-345CWE-494

apko doesn't verify downloaded apk packages against APKINDEX checksum (package substitution possible)

High · published May 9, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Weaknesses
CWE-345 · Insufficient Verification of Data Authenticity; CWE-494 · Download of Code Without Integrity Check
Published
2026-05-09T19:26Z
EPSS history
Timeline
  • 09 MAY 19:26Z
    apko doesn't verify downloaded apk packages against APKINDEX checksum (package substitution possible)
    cvelistv5