Go Vulnerability Database
GO-2026-5589
apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root in chainguard.dev/apko
Details
apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root in chainguard.dev/apko
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | chainguard.dev/apko | From 0.14.8 before 1.2.5 (fixed in 1.2.5) |
References
- https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6
- https://nvd.nist.gov/vuln/detail/CVE-2026-42574
- https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442
- https://github.com/chainguard-dev/apko/pull/2187
- https://github.com/chainguard-dev/apko/releases/tag/v1.2.5