Relative Path Traversal Affecting chainguard.dev/apko/pkg/apk/fs package, versions >=0.14.8 <1.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-CHAINGUARDDEVAPKOPKGAPKFS-15202505
  • published4 Feb 2026
  • disclosed3 Feb 2026
  • creditOleh Konko

Introduced: 3 Feb 2026

CVE-2026-25121  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade chainguard.dev/apko/pkg/apk/fs to version 1.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Relative Path Traversal via the dirFS filesystem abstraction. An attacker can perform unauthorized filesystem writes outside the intended base directory by supplying a crafted APK package containing malicious directory or symlink entries and convincing a user to install it.

References

CVSS Base Scores

version 4.0
version 3.1