Directory Traversal Affecting wolfictl package, versions <0.39.0-r1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (1st 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-WOLFICTL-15422816
  • published5 Mar 2026
  • disclosed4 Feb 2026

Introduced: 4 Feb 2026

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

How to fix?

Upgrade Wolfi wolfictl to version 0.39.0-r1 or higher.

NVD Description

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

melange allows users to build apk packages using declarative pipelines. From version 0.14.0 to before 0.40.3, an attacker who can influence a melange configuration file (e.g., through pull request-driven CI or build-as-a-service scenarios) could read arbitrary files from the host system. The LicensingInfos function in pkg/config/config.go reads license files specified in copyright[].license-path without validating that paths remain within the workspace directory, allowing path traversal via ../ sequences. The contents of the traversed file are embedded into the generated SBOM as license text, enabling exfiltration of sensitive data through build artifacts. This issue has been patched in version 0.40.3.

CVSS Base Scores

version 3.1