{"id":"CVE-2026-42574","aliases":["GHSA-qq3r-w4hj-gjp6","GO-2026-5589"],"url":"https://o3.security/vulnerability/CVE-2026-42574","summary":"apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root","details":"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.","published":"2026-05-09T19:24:48.497Z","modified":"2026-08-07T11:51:06.111662448Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.00352,"percentile":0.27922,"asOf":"2026-08-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"chainguard.dev/apko","fixedVersion":"1.2.5"}],"fix":{"url":"https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442","label":"chainguard-dev/apko@f5a96e1"},"references":[{"type":"WEB","url":"https://github.com/chainguard-dev/apko/releases/tag/v1.2.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42574.json"},{"type":"ADVISORY","url":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42574"},{"type":"FIX","url":"https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442"},{"type":"FIX","url":"https://github.com/chainguard-dev/apko/pull/2187"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:51:06.111662448Z"}}