{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42574","id":"CVE-2026-42574","title":"apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root","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 iss","descriptionLong":"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","updated":"2026-10-28T02:31:08.355406231Z","reserved":"2026-04-28T17:26:12.085Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["chainguard-dev apko"],"affectedProducts":[{"vendor":"chainguard-dev","product":"apko","defaultStatus":null,"versions":[{"version":">= 0.14.8, < 1.2.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","ranges":[">=0.14.8 <1.2.5"],"fixed":["1.2.5"],"advisory":"GHSA-qq3r-w4hj-gjp6"}],"cwes":["CWE-22","CWE-59"],"aliases":["GHSA-qq3r-w4hj-gjp6","GO-2026-5589"],"references":[{"url":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/chainguard-dev/apko/pull/2187","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/chainguard-dev/apko/releases/tag/v1.2.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42574.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42574","tags":["advisory"]},{"url":"https://github.com/chainguard-dev/apko","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00352,"epssPercentile":0.29528,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42574","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42574","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42574","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qq3r-w4hj-gjp6","ok":true,"note":"GHSA-qq3r-w4hj-gjp6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42574","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}