CVE-2026-40161 json
Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL
published 6mo ago modified 14d ago also EUVD-2026-24165 , GHSA-wjxp-xrpv-xpff , GO-2026-5711
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/tektoncd/pipeline 1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1
- linuxfoundation tekton_pipelines 1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Is CVE-2026-40161 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40161 updated cvss 7.7
github.com/tektoncd/pipeline: Tekton Pipelines: Information disclosure of Git API token via user-controlled serverURL
-
Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-image-bundler-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-opc-rhel9, openshift-pipelines/pipelines-cli-tkn-rhel9, openshift-pipelines/pipelines-hub-api-rhel9, openshift-pipelines/pipelines-rhel9-operator, openshift-pipelines/pipelines-results-api-rhel9, openshift-pipelines/pipelines-operator-proxy-rhel9, +13 moreaffected: workaround, no fix available
-
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9, container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9affected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift Builds 1.7.3 openshift-builds/openshift-builds-waiters-rhel9 1780374228, openshift-builds/openshift-builds-webhook-rhel9 1780374084, openshift-builds/openshift-builds-rhel9-operator 1780480839, openshift-builds/openshift-builds-controller-rhel9 1780373846, openshift-builds/openshift-builds-git-cloner-rhel9 1780374151, openshift-builds/openshift-builds-image-processing-rhel9 1780373835fixed: fixed in 1.7.3 RHSA-2026:24359
-
Red Hat OpenShift Builds 1.9.2 openshift-builds/openshift-builds-operator-bundle 1792762900, openshift-builds/openshift-builds-rhel10-operator 1792749358, openshift-builds/openshift-builds-rhel10-operator 1792859629fixed: fixed in 1.9.2 RHSA-2026:89041
-
Red Hat OpenShift Pipelines 1.21 serve-tkn-cli-1-21-serve-tkn-cli 1.21.1fixed: vendor fix RHSA-2026:24484
-
Red Hat OpenShift Lightspeed openshift-lightspeed/openshift-mcp-server-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-nop-rhel8, openshift-pipelines/pipelines-nop-rhel9, openshift-pipelines/pipelines-events-rhel8, openshift-pipelines/pipelines-events-rhel9, openshift-pipelines/pipelines-cli-tkn-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, +29 more Red Hat OpenShift Serverless openshift-serverless-1/kn-client-kn-rhel9, openshift-serverless-1/kn-plugin-func-func-util-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-ml-pipelines-driver-rhel8, rhoai/odh-ml-pipelines-launcher-rhel8, rhoai/odh-ml-pipelines-api-server-v2-rhel8, rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8, rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8 Red Hat OpenShift Builds 1.7.3 openshift-builds/openshift-builds-operator-bundle 1780485589, openshift-builds/openshift-builds-image-bundler-rhel9 1780373867, openshift-builds/openshift-builds-shared-resource-rhel9 1780477299, openshift-builds/openshift-builds-shared-resource-webhook-rhel9 1780477295 Red Hat OpenShift Builds 1.9.2 openshift-builds/openshift-builds-waiters-rhel10 1792762119, openshift-builds/openshift-builds-waiters-rhel10 1792839475, openshift-builds/openshift-builds-webhook-rhel10 1792680944, openshift-builds/openshift-builds-webhook-rhel10 1792835571, openshift-builds/openshift-builds-operator-bundle 1792863311, openshift-builds/openshift-builds-controller-rhel10 1792680723, +11 morenot affected: vulnerable code not present
+2 more productsfewer
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-ssp-operator-rhel9, container-native-virtualization/kubevirt-template-validator-rhel9 Red Hat Trusted Artifact Signer rhtas/ec-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/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 >=1.1.0, <1.3.4 |
1.0.2 1.3.4 1.6.2 1.9.3 1.11.1 |
Affected products
- tektoncd pipeline
Classification
- Weakness
-
- CWE-201 Insertion of Sensitive Information Into Sent Data
References
-
github.com
/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff
web, vendor-advisory, advisory
-
github.com
/tektoncd/pipeline/issues/9608
web, issue-tracking, report
-
github.com
/tektoncd/pipeline/issues/9609
web, issue-tracking, report
-
nvd.nist.gov
/vuln/detail/CVE-2026-40161
advisory
-
github.com
/tektoncd/pipeline
package
Sources
- CVE List CVE-2026-40161
- GitHub Advisory GHSA-wjxp-xrpv-xpff
- NVD CVE-2026-40161
- OSV GO-2026-5711
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.