CVE-2026-40923: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in tektoncd pipeline
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.
AI Analysis
Technical Summary
Tekton Pipelines versions before 1.11.1 contain a CWE-22 path traversal vulnerability in the VolumeMount path restriction logic. The validation mechanism incorrectly uses strings.HasPrefix without normalizing the path with filepath.Clean, allowing paths with '..' components to bypass restrictions. This enables mounting volumes under restricted internal directories such as /tekton/results. The vulnerability is addressed by proper validation in version 1.11.1.
Potential Impact
An attacker with limited privileges can bypass path restrictions to mount volumes in restricted internal directories within Tekton Pipelines. This could lead to unauthorized access or modification of internal pipeline data. The CVSS score of 5.4 indicates a medium impact with limited confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
Upgrade Tekton Pipelines to version 1.11.1 or later where this path traversal vulnerability is fixed. Since no official patch links or vendor advisory are provided, verify the upgrade from the official Tekton project releases. Until upgraded, avoid using untrusted input for VolumeMount paths to reduce risk.
CVE-2026-40923: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in tektoncd pipeline
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tekton Pipelines versions before 1.11.1 contain a CWE-22 path traversal vulnerability in the VolumeMount path restriction logic. The validation mechanism incorrectly uses strings.HasPrefix without normalizing the path with filepath.Clean, allowing paths with '..' components to bypass restrictions. This enables mounting volumes under restricted internal directories such as /tekton/results. The vulnerability is addressed by proper validation in version 1.11.1.
Potential Impact
An attacker with limited privileges can bypass path restrictions to mount volumes in restricted internal directories within Tekton Pipelines. This could lead to unauthorized access or modification of internal pipeline data. The CVSS score of 5.4 indicates a medium impact with limited confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
Upgrade Tekton Pipelines to version 1.11.1 or later where this path traversal vulnerability is fixed. Since no official patch links or vendor advisory are provided, verify the upgrade from the official Tekton project releases. Until upgraded, avoid using untrusted input for VolumeMount paths to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-15T20:40:15.517Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7e5b119fe3cd2cdfa01bd
Added to database: 4/21/2026, 9:01:37 PM
Last enriched: 4/21/2026, 9:17:07 PM
Last updated: 4/22/2026, 6:04:58 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.