Directory Traversal Affecting dagdotdev package, versions <0.0.20-r14


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (21st 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-DAGDOTDEV-16423667
  • published5 May 2026
  • disclosed9 May 2026

Introduced: 5 May 2026

NewCVE-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 Wolfi dagdotdev to version 0.0.20-r14 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dagdotdev package and not the dagdotdev package as distributed by Wolfi. See How to fix? for Wolfi 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.