Directory Traversal Affecting tkn package, versions <0.44.1-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (17th 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-TKN-16535094
  • published8 May 2026
  • disclosed21 Apr 2026

Introduced: 21 Apr 2026

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

How to fix?

Upgrade Wolfi tkn to version 0.44.1-r4 or higher.

NVD Description

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

Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Prior to 1.11.1, a validation bypass in the VolumeMount path restriction allows mounting volumes under restricted /tekton/ internal paths by using .. path traversal components. The restriction check uses strings.HasPrefix without filepath.Clean, so a path like /tekton/home/../results passes validation but resolves to /tekton/results at runtime. This vulnerability is fixed in 1.11.1.