Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec4676880
- https://github.com/chainguard-dev/apko/pull/2187
- https://github.com/chainguard-dev/apko/releases/tag/v1.2.5
- https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6
FAQ
What is CVE-2026-42574?
CVE-2026-42574 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 poin...
How severe is CVE-2026-42574?
CVE-2026-42574 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42574?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.