CVE-2026-42574
apko allows users to build and publish OCI container images built …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6
- github.com/chainguard-dev/apko/pull/2187
- github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442
- github.com/chainguard-dev/apko/releases/tag/v1.2.5
- github.com/advisories/GHSA-qq3r-w4hj-gjp6
- nvd.nist.gov/vuln/detail/CVE-2026-42574
- nvd.nist.gov/vuln/detail/CVE-2026-42574
- cve.org/CVERecord?id=CVE-2026-42574
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.