Read the docs
TI-2026-30855 Aliases CVE-2026-42575GHSA-hcwr-pq9g-rq3m

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

Priority LOW 38CWE-345Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass, Code execution
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345 and CWE-494.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00159 5th percentileScored 2026-11-07
Fix Fixed apko (chainguard-dev): 1.2.7chainguard.dev/apko (Go): 1.2.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chainguard-devapkobefore 1.2.71.2.7Patch availableCNA
—chainguard.dev/apko (Go)before 1.2.71.2.7Patch availableGHSA-hcwr-pq9g-rq3m
  • apko Vendorchainguard-dev Affected before 1.2.7 Fixed in 1.2.7 Patch available CNA
  • chainguard.dev/apko (Go) Vendor— Affected before 1.2.7 Fixed in 1.2.7 Patch available GHSA-hcwr-pq9g-rq3m

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:chainguard:apko:*:*:*:*:*:*:*:*——chainguard-dev
  • cpe:2.3:a:chainguard:apko:*:*:*:*:*:*:*:* Versions — — ·chainguard-dev

Remediation

  • Fix · CNA apko (chainguard-dev) Fixed in 1.2.7
  • Fix · GHSA-hcwr-pq9g-rq3m chainguard.dev/apko (Go) Fixed in 1.2.7 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42575
  2. 2026-10-03 Alias added: GHSA-hcwr-pq9g-rq3m

References

  • TI-2024-23955 apko Exposure of HTTP basic auth credentials in log output CVSS 3.1HIGH 7.5
  • TI-2026-22680 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory CVSS 3.1HIGH 8.2
  • TI-2026-83911 kaniko sends Azure access tokens to lookalike ACR registry hosts CVSS 3.1CRITICAL 9.3
  • TI-2026-30854 apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root CVSS 3.1HIGH 7.5
  • TI-2026-20302 apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attacker-controlled .apk streams CVSS 3.1HIGH 7.5
  • TI-2026-20284 apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside base CVSS 3.1HIGH 7.5
See all 25 →

Sources