Vulnerability
CVE-2026-25121
apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before 1.1.1, a path traversal vulnerability was discovered in apko's dirFS filesystem abstraction. An attacker who can supply a malicious APK package (e.g., via a compromised or typosquatted repository) could create directories or symlinks outside the intended installation root. The MkdirAll, Mkdir, and Symlink methods in pkg/apk/fs/rwosfs.go use filepath.Join() without validating that the resulting path stays within the base directory. This issue has been patched in version 1.1.1.
20 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-2hmh-3g56-mg8q
- CGA-2pcx-c8xm-j9hg
- CGA-3g9j-h2g8-5gr9
- CGA-3j99-x3pm-fg89
- CGA-57hm-pgg6-p5wr
- CGA-746w-gmfw-4977
- CGA-76q9-p9c3-347f
- CGA-ch6f-gmm4-3ggg
- CGA-fr25-wcf8-3mp7
- CGA-ggqw-hj48-wvq5
- CGA-j4w5-4cmc-7mgx
- CGA-j7v7-gm63-rq7c
- CGA-mjwv-3vg5-x3g6
- CGA-px2v-44rv-w572
- CGA-w3p9-pfqf-5vhj
- CGA-xqw5-x7rc-83qv
-
GHSA-5g94-c2wx-8pxw
apko has a path traversal in apko dirFS which allows filesystem writes outside base
-
GO-2026-4405
apko has a path traversal in apko dirFS which allows filesystem writes outside base in chainguard.dev/apko
-
SUSE-SU-2026:0403-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb