Skip to content
OpenAdvisories
High · 7.5 CVE-2026-42574 EUVD-2026-28932GHSA-qq3r-w4hj-gjp6GO-2026-5589

apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root

Published May 9, 2026 · Updated May 11, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
chainguard-dev apko >= 0.14.8, < 1.2.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dagdotdev 0.0.20-r14 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go chainguard.dev/apko >= 0.14.8, < 1.2.5 1.2.5 GHSA-qq3r-w4hj-gjp6

Advisories 1

References