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. Starting in version 1.0.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 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. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.
AI Analysis
Technical Summary
Tekton Pipelines versions prior to 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 contain a path traversal vulnerability (CWE-22) due to improper validation of volume mount paths. The validation uses strings.HasPrefix without filepath.Clean, allowing paths like /tekton/home/../results to bypass restrictions and resolve to restricted directories at runtime. This can lead to unauthorized mounting of volumes under restricted /tekton/ internal paths. The issue is fixed in the specified patched versions.
Potential Impact
An attacker with at least limited privileges (PR:L) can bypass pathname restrictions to mount volumes in restricted internal directories, potentially leading to unauthorized access or modification of data within the Tekton Pipelines environment. The impact is limited to confidentiality and integrity with no availability impact. The vulnerability has a medium severity (CVSS 5.4). No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade Tekton Pipelines to one of the fixed versions: 1.0.2, 1.3.4, 1.6.2, 1.9.3, or 1.11.1. Since the vendor advisory does not explicitly state the remediation level, patch status is inferred from version fixes. Patch status is confirmed by the availability of fixed versions. No additional mitigations are specified.
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. Starting in version 1.0.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 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. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.
CVSS v3.1
Score 5.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tekton Pipelines versions prior to 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 contain a path traversal vulnerability (CWE-22) due to improper validation of volume mount paths. The validation uses strings.HasPrefix without filepath.Clean, allowing paths like /tekton/home/../results to bypass restrictions and resolve to restricted directories at runtime. This can lead to unauthorized mounting of volumes under restricted /tekton/ internal paths. The issue is fixed in the specified patched versions.
Potential Impact
An attacker with at least limited privileges (PR:L) can bypass pathname restrictions to mount volumes in restricted internal directories, potentially leading to unauthorized access or modification of data within the Tekton Pipelines environment. The impact is limited to confidentiality and integrity with no availability impact. The vulnerability has a medium severity (CVSS 5.4). No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade Tekton Pipelines to one of the fixed versions: 1.0.2, 1.3.4, 1.6.2, 1.9.3, or 1.11.1. Since the vendor advisory does not explicitly state the remediation level, patch status is inferred from version fixes. Patch status is confirmed by the availability of fixed versions. No additional mitigations are specified.
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: 5/23/2026, 6:15:32 AM
Last updated: 5/31/2026, 7:37:23 PM
Views: 48
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.