Git Fetch Command Vulnerability in Tekton Pipelines by Tekton
CVE-2026-40938

7.5HIGH

Key Information:

Vendor

Tektoncd

Status
Vendor
CVE Published:
21 April 2026

What is CVE-2026-40938?

In Tekton Pipelines, versions prior to 1.11.0 contain a vulnerability in the git resolver's revision parameter handling. It lacks validation, allowing an attacker to inject arbitrary flags into the 'git fetch' command. This situation is exacerbated by the permissive validateRepoURL function, which accepts local filesystem paths. Consequently, a malicious tenant can execute arbitrary binaries on the resolver pod, compromising the tekton-pipelines-resolvers ServiceAccount that has extensive permissions, including the ability to list and watch all Secrets in the cluster. This exposes a significant risk of secret exfiltration throughout the entire Kubernetes environment. The vulnerability is addressed in Tekton Pipelines version 1.11.1.

Affected Version(s)

pipeline >= 1.0.0, < 1.11.1

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.