Directory Traversal Affecting tw package, versions <0.0.45-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.35% (27th 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 IDSNYK-MINIMOSLATEST-TW-16424524
  • published6 May 2026
  • disclosed9 May 2026

Introduced: 6 May 2026

CVE-2026-42574  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Minimos:latest tw to version 0.0.45-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tw package and not the tw package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before version 1.2.5, a crafted .apk could install a TypeSymlink tar entry whose target pointed outside the build root, and a subsequent directory-creation or file-write entry in the same or later archive could traverse that symlink to reach host paths the build user could write to. This issue has been patched in version 1.2.5.