CVE-2026-42574

high

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.

References

https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6

https://github.com/chainguard-dev/apko/releases/tag/v1.2.5

https://github.com/chainguard-dev/apko/pull/2187

https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442

Details

Source: Mitre, NVD

Published: 2026-05-09

Updated: 2026-05-13

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Severity: High

EPSS

EPSS: 0.0005