{"cve":"CVE-2026-42574","nvd":{"published":"2026-05-09T20:16:29.420","modified":"2026-07-24T21:10:00.143","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-22","CWE-59"],"references":["https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442","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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-42574","score":0.00352,"percentile":0.289,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qq3r-w4hj-gjp6","url":"https://osv.dev/vulnerability/GHSA-qq3r-w4hj-gjp6","summary":"apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root","modified":"2026-09-10T03:51:06.920649609Z","packages":[{"ecosystem":"Go","name":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","ranges":[">=0.14.8 <1.2.5"],"fixed":["1.2.5"]}]},{"id":"GO-2026-5589","url":"https://osv.dev/vulnerability/GO-2026-5589","summary":"apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root in chainguard.dev/apko","modified":"2026-06-25T23:01:32.637445332Z","packages":[{"ecosystem":"Go","name":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","ranges":[">=0.14.8 <1.2.5"],"fixed":["1.2.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}