Medium severity · published Apr 21, 2026
CVE-2026-40161
Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL
6.5
CVSS
0.3%
EPSS
No
On KEV
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, the Tekton Pipelines git resolver in API mode sends the system-configured Git API token to a user-controlled serverURL when the user omits the token parameter. A tenant with TaskRun or PipelineRun create permission can exfiltrate the shared API token (GitHub PAT, GitLab token, etc.) by pointing serverURL to an attacker-controlled endpoint. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PI
pipeline · tektoncd
>= 1.0.0, < 1.0.2; >= 1.2.0, < 1.3.4; >= 1.4.0, < 1.6.2; >= 1.7.0, < 1.9.3; >= 1.10.0, < 1.11.1 · source: vendor
TP
Tekton Pipelines · Linuxfoundation
1.0.0 through 1.10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40161
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40161
Issue Tracking
https://github.com/tektoncd/pipeline/issues/9608
Issue Tracking
https://github.com/tektoncd/pipeline/issues/9609
Vendor Advisory
https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff
More from pipeline
8.5
CVE-2026-40938
Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE
6.5
CVE-2026-40924
Tekton Pipelines: HTTP Resolver Unbounded Response Body Read Enables Denial of Service via Memory Exhaustion
6.5
CVE-2026-25542
Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching
5.4
CVE-2026-40923
Tekton Pipelines: VolumeMount path restriction bypass via missing filepath.Clean in /tekton/ check
