CVE-2026-42574
HIGH 7.5CVSS 3.1apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root
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
- 9 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-59
- Also known as
- GHSA-qq3r-w4hj-gjp6GO-2026-5589
- Sources
- NVDJSONOSV GHSA-qq3r-w4hj-gjp6JSONOSV GO-2026-5589JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | chainguard.dev/apko | >= 0.14.8, < 1.2.5 | 1.2.5 |
References
- https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442 · WEB
- https://github.com/chainguard-dev/apko/pull/2187 · WEB
- https://github.com/chainguard-dev/apko/releases/tag/v1.2.5 · WEB
- https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42574 · ADVISORY
- https://github.com/chainguard-dev/apko · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 May 2026)