apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to…
Historical advisory recorded 25 Oct 2026 06:17:10 UTC. Read the latest advisory.
nvd · CVE-2026-25121
Publishedapko 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-25121
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-23 · CWE-22
Original publisher date fields
published: 2026-02-04T19:16:14.790
lastModified: 2026-06-17T10:24:08.653
1 source CPE criteria · context only
- cpe:2.3:a:chainguard:apko:*:*:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON