{"id":"EUVD-2026-5380","enisaUuid":"3b6b17af-bd7f-3f58-ab05-3143c0bcab0a","description":"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\u0027s 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.","datePublished":"Feb 4, 2026, 7:02:17 PM","dateUpdated":"Feb 4, 2026, 7:18:52 PM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","references":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-5g94-c2wx-8pxw\nhttps://github.com/chainguard-dev/apko/commit/d8b7887a968a527791b3c591ae83928cb49a9f14\n","aliases":"CVE-2026-25121\nGHSA-5g94-c2wx-8pxw\n","assigner":"GitHub_M","epss":0.41,"enisaIdProduct":[{"id":"d4110617-cf78-31e6-b42d-2f78ca2288c7","product":{"name":"apko","vendor":{"name":"chainguard-dev"}},"product_version":"0.14.8, \u003c 1.1.1"}],"enisaIdVendor":[{"id":"75300a17-76b8-3b3d-b915-1a5b237479b9","vendor":{"name":"chainguard-dev"}}],"enisaIdVulnerability":[{"id":"2093ec27-4bf9-30da-8dd8-3d973e7365ad","vulnerability":{"id":"CVE-2026-25121","description":"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\u0027s 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.","datePublished":"Feb 4, 2026, 7:02:17 PM","dateUpdated":"Feb 4, 2026, 7:18:52 PM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","references":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-5g94-c2wx-8pxw\nhttps://github.com/chainguard-dev/apko/commit/d8b7887a968a527791b3c591ae83928cb49a9f14\n","enisa_id":"EUVD-2026-5380\n","assigner":"GitHub_M","epss":0.41,"dataProcessed":"Nov 15, 2026, 7:16:45 AM","vulnerabilityProduct":[{"id":"02b9f221-48ef-32c3-8709-7c72f20c487a","product":{"name":"apko","vendor":{"name":"chainguard-dev"}},"product_version":"0.14.8, \u003c 1.1.1"}],"vulnerabilityVendor":[{"id":"60a35af8-d89a-3d3d-940b-88b2e88af86c","vendor":{"name":"chainguard-dev"}}]}},{"id":"ea1b6030-8d7f-338e-819b-9d5ddcb463ee","vulnerability":{"id":"GHSA-5g94-c2wx-8pxw","description":"apko has a path traversal in apko dirFS which allows filesystem writes outside base","datePublished":"Feb 3, 2026, 11:57:48 PM","dateUpdated":"Feb 4, 2026, 9:55:44 PM","baseScore":0.0,"references":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-5g94-c2wx-8pxw\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-25121\nhttps://github.com/chainguard-dev/apko/commit/d8b7887a968a527791b3c591ae83928cb49a9f14\nhttps://github.com/chainguard-dev/apko\n","enisa_id":"EUVD-2026-5380\n","aliases":"GHSA-5g94-c2wx-8pxw\nCVE-2026-25121\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:47:23 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}