7.7

CVE-2026-40161: Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL

Modified
AliasesCGA-267x-p3fm-22cqCGA-2chm-pxgv-m2qfCGA-3g9h-w3vh-f7v6
Published 21-04-2026Last modified 21-05-2026

Vulnerability summary

CVE-2026-40161 is a high (CVSS 7.7) vulnerability in linuxfoundation tekton_pipelines. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 21-04-2026
    PublishedVulnerability first disclosed.
  2. 21-05-2026
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.26% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard132 products
  • tekton-chains< 0.27.0-r0
  • tekton-chains-fips< 0.27.0-r0
  • tekton-pipelines-controller-1.0< 1.0.2-r3
  • tekton-pipelines-controller-1.10All versions (No fix recorded)
  • tekton-pipelines-controller-1.3< 1.3.4-r2
Wolfi18 products
  • tekton-chains< 0.27.0-r0
  • tekton-pipelines-controller-1.10All versions (No fix recorded)
  • tekton-pipelines-controller-1.9< 1.9.3-r2
  • tekton-pipelines-entrypoint-1.10All versions (No fix recorded)
  • tekton-pipelines-entrypoint-1.9< 1.9.3-r2
Github.com/tektoncd1 product
  • pipeline≥ 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
Linuxfoundation1 product
Tektoncd1 product
  • pipeline≥ 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

5 vendors · 153 products

References

6 links