CVE-2026-42574
published high CVSS 3.1 · 7.5apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chainguard-dev | — | apko>= 0.14.8, < 1.2.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chainguard-dev | apko | >= 0.14.8, < 1.2.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
4Provider assertions
2GitHub_M · cna
apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2c8bc4856bea98ad075c52cfca7603d3186a5d876e89f3b1a0d863f436175144
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record