PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-42575 chainguard-dev CVE debrief

CVE-2026-42575 is an integrity flaw in apko that can let altered .apk packages be accepted into OCI images if an attacker can tamper with package downloads. The issue is fixed in apko 1.2.7.

Vendor
chainguard-dev
Product
apko
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-09
Original CVE updated
2026-07-24
Advisory published
2026-05-09
Advisory updated
2026-07-24

Who should care

Teams that use apko to build or publish OCI images from apk packages, especially when downloading from mirrors, HTTP repositories, or cached/CDN-served package sources.

Technical summary

apko verifies the signature on APKINDEX.tar.gz, but prior to 1.2.7 it did not compare each downloaded .apk against the checksum recorded in the signed index. The checksum is parsed and the control hash is computed, but the values are never checked in getPackageImpl(), so mismatched packages can be silently accepted. The result is a network-reachable integrity failure consistent with CWE-345 and CWE-494, with high impact on image contents.

Defensive priority

High

Recommended defensive actions

  • Upgrade apko to 1.2.7 or later.
  • Rebuild any images created with vulnerable apko versions if package downloads could have been substituted during the build.
  • Prefer trusted, authenticated package distribution paths and avoid plain HTTP or otherwise mutable mirrors where possible.
  • Review build pipelines, caches, and CDN dependencies for package-source tampering risk.
  • Monitor the GitHub security advisory and release notes for any follow-up guidance.

Evidence notes

The supplied CVE description states that apko verified the APKINDEX signature but never compared downloaded .apk packages to the signed checksum, allowing mismatched packages to be accepted. The NVD record and GitHub advisory/release references are the official sources confirming the issue, the fix, and the affected version boundary at 1.2.7. The CVE was published on 2026-05-09.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-42575 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-42575

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-42575 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42575

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.