CVE-2026-42574
apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root
CVSS Score
7.5
EPSS Score
0.1%
EPSS Percentile
16th
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.
| CWE | CWE-22 CWE-59 |
| Vendor | chainguard-dev |
| Product | apko |
| Published | May 9, 2026 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for chainguard-dev apko
Be the first to know when new high vulnerabilities affecting chainguard-dev apko are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Affected Versions
chainguard-dev / apko
>= 0.14.8, < 1.2.5
References
github.com: https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6 github.com: https://github.com/chainguard-dev/apko/pull/2187 github.com: https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442 github.com: https://github.com/chainguard-dev/apko/releases/tag/v1.2.5