Home / tektoncd / pipeline / CVE-2026-40161
CVE-2026-40161: is it exploited, and which versions of tektoncd pipeline are affected and fixed?
CVE-2026-40161 is an information disclosure in sent data vulnerability in tektoncd pipeline. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: github.com/tektoncd/pipeline from 1.0.0 before 1.0.2, github.com/tektoncd/pipeline from 1.2.0 before 1.3.4, github.com/tektoncd/pipeline from 1.4.0 before 1.6.2 and 2 more (GitHub advisory GHSA-wjxp-xrpv-xpff). Fixed in 1.0.2, 1.3.4, 1.6.2, 1.9.3 and 1 more (GitHub advisory GHSA-wjxp-xrpv-xpff). Severity: High (7.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40161?
Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL
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.
From the CVE record by GitHub_M, last updated May 21, 2026, 21:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| tektoncd | 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 |
As the CVE record by GitHub_M states it, last updated May 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/tektoncd/pipeline | >= 1.0.0, < 1.0.2 | 1.0.2 | GHSA-wjxp-xrpv-xpff |
| Go | github.com/tektoncd/pipeline | >= 1.2.0, < 1.3.4 | 1.3.4 | GHSA-wjxp-xrpv-xpff |
| Go | github.com/tektoncd/pipeline | >= 1.4.0, < 1.6.2 | 1.6.2 | GHSA-wjxp-xrpv-xpff |
| Go | github.com/tektoncd/pipeline | >= 1.7.0, < 1.9.3 | 1.9.3 | GHSA-wjxp-xrpv-xpff |
| Go | github.com/tektoncd/pipeline | >= 1.10.0, < 1.11.1 | 1.11.1 | GHSA-wjxp-xrpv-xpff |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 21, 2026. Summary: Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | tekton pipelines | from 1.0.0 through 1.10.0 | application |
NVD analysis (status Modified), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-40161?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40161 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 21, 2026)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 20.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-201 Insertion of Sensitive Information Into Sent Data
Where are the vendor advisories and references?
- https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff x_refsource_CONFIRM
- https://github.com/tektoncd/pipeline/issues/9608 x_refsource_MISC
- https://github.com/tektoncd/pipeline/issues/9609 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 9, 2026
- Published
- April 21, 2026, 16:26 UTC
- CVE record updated
- May 21, 2026, 21:20 UTC by GitHub_M
- NVD
- Modified, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect pipeline?
- Apr 21, 2026CVE-2026-40923 tektoncd pipeline: path traversal (reading or writing files outside the intended folder)
- Apr 21, 2026CVE-2026-40924 tektoncd pipeline: denial of service (uncontrolled resource consumption)
- Apr 21, 2026CVE-2026-40938 tektoncd pipeline: argument injection
- Apr 21, 2026CVE-2026-25542 tektoncd pipeline: incorrect Regular Expression
- Mar 23, 2026CVE-2026-33211 tektoncd pipeline: path traversal (reading or writing files outside the intended folder)
- Mar 20, 2026CVE-2026-33022 tektoncd pipeline: improper array index validation
- Jul 7, 2023CVE-2023-37264 tektoncd pipeline: data authenticity not verified
Questions about CVE-2026-40161
Is CVE-2026-40161 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of tektoncd pipeline are affected by CVE-2026-40161?
github.com/tektoncd/pipeline from 1.0.0 before 1.0.2, github.com/tektoncd/pipeline from 1.2.0 before 1.3.4, github.com/tektoncd/pipeline from 1.4.0 before 1.6.2, github.com/tektoncd/pipeline from 1.7.0 before 1.9.3 and github.com/tektoncd/pipeline from 1.10.0 before 1.11.1, per the GitHub advisory GHSA-wjxp-xrpv-xpff. The tables above give every range the sources list.
Which version fixes CVE-2026-40161?
1.0.2, 1.3.4, 1.6.2, 1.9.3 and 1.11.1, per the GitHub advisory GHSA-wjxp-xrpv-xpff. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40161?
High (7.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40161?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.