Read the docs
TI-2026-20285 Aliases CVE-2026-25122GHSA-6p9p-q6wh-9j89

apko is vulnerable to unbounded resource consumption in expandapk.Split on attacker-controlled .apk streams

Priority LOW 24CWE-400Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

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

Summary

apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before 1.1.0, expandapk.Split drains the first gzip stream of an APK archive via io.Copy(io.Discard, gzi) without explicit bounds. With an attacker-controlled input stream, this can force large gzip inflation work and lead to resource exhaustion (availability impact). The Split function reads the first tar header, then drains the remainder of the gzip stream by reading from the gzip reader directly without any maximum uncompressed byte limit or inflate-ratio cap. A caller that parses attacker-controlled APK streams may be forced to spend excessive CPU time inflating gzip data, leading to timeouts or process slowdown. This issue has been patched in version 1.1.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00129 2nd percentileScored 2026-11-08
Fix Fixed apko (chainguard-dev): 1.1.0chainguard.dev/apko (Go): 1.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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-devapko0.14.8 to before 1.1.01.1.0Patch availableCNA
—chainguard.dev/apko (Go)0.14.8 to before 1.1.01.1.0Patch availableGHSA-6p9p-q6wh-9j89
  • apko Vendorchainguard-dev Affected 0.14.8 to before 1.1.0 Fixed in 1.1.0 Patch available CNA
  • chainguard.dev/apko (Go) Vendor— Affected 0.14.8 to before 1.1.0 Fixed in 1.1.0 Patch available GHSA-6p9p-q6wh-9j89

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:chainguard:apko:*:*:*:*:*:go:*:*0.14.8 to before 1.1.0Vulnerablechainguard-dev
  • cpe:2.3:a:chainguard:apko:*:*:*:*:*:go:*:* Versions 0.14.8 to before 1.1.0 Vulnerable ·chainguard-dev

Remediation

  • Fix · CNA apko (chainguard-dev) Fixed in 1.1.0
  • Fix · GHSA-6p9p-q6wh-9j89 chainguard.dev/apko (Go) Fixed in 1.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-25122
  2. 2026-10-03 Alias added: GHSA-6p9p-q6wh-9j89

References

  • 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

Sources