CVE-2026-42574
Description
apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before version 1.2.5, a crafted .apk could install a TypeSymlink tar entry whose target pointed outside the build root, and a subsequent directory-creation or file-write entry in the same or later archive could traverse that symlink to reach host paths the build user could write to. This issue has been patched in version 1.2.5.
How to fix
- chainguard.dev/apko1.2.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| chainguard.dev/apkoGo | 0.14.8 ≤ v < 1.2.5 | 1.2.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.