CVE-2026-40161 Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
33 packages: 2 fixed, 30 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/openshift-builds/openshift-builds-controller-rhel9:1780373846(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9:1780374151(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9:1780373835(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-operator-bundle:1792762900(Red Hat openshift_builds 1.9 el10) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792749358(Red Hat openshift_builds 1.9 el10) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792859629(Red Hat openshift_builds 1.9 el10) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel9-operator:1780480839(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-waiters-rhel9:1780374228(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-webhook-rhel9:1780374084(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-chains-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-cli-tkn-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-api-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-opc-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-webhook-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pruner-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-results-api-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-results-watcher-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-rhel9-operator(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-triggers-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-triggers-core-interceptors-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-triggers-eventlistenersink-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-triggers-webhook-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/serve-tkn-cli-1-21-serve-tkn-cli-1.21.1(Red Hat openshift_pipelines 1.21 el9) | All versions | No fix listed | No fix yet |
… and 3 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.0.0, < 1.0.2 | 1.0.2 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.2.0, < 1.3.4 | 1.3.4 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.4.0, < 1.6.2 | 1.6.2 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.7.0, < 1.9.3 | 1.9.3 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.10.0, < 1.11.1 | 1.11.1 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.1.0, < 1.3.4 | 1.3.4 |
| tektoncd github.com/tektoncd/pipeline | = >= 1.0.0, < 1.0.2 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.2.0, < 1.3.4 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.4.0, < 1.6.2 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.7.0, < 1.9.3 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.10.0, < 1.11.1 | No fix listed |
| redhat/openshift-builds/openshift-builds-controller-rhel9:1780373846(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9:1780374151(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9:1780373835(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel9-operator:1780480839(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-waiters-rhel9:1780374228(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-webhook-rhel9:1780374084(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-operator-bundle:1792762900(Red Hat:openshift_builds:1.9::el10) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792749358(Red Hat:openshift_builds:1.9::el10) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792859629(Red Hat:openshift_builds:1.9::el10) | All versions | No fix listed |
| redhat/serve-tkn-cli-1-21-serve-tkn-cli-1.21.1(Red Hat:openshift_pipelines:1.21::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-chains-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-cli-tkn-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-api-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/openshift-pipelines/pipelines-manual-approval-gate-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-opc-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pruner-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-results-api-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-results-watcher-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-rhel9-operator(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-core-interceptors-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-eventlistenersink-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| linuxfoundation tekton pipelines | >= 1.0.0, <= 1.10.0 | No fix listed |
References
- https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/tektoncd/pipeline/issues/9608 issue-tracking
- https://github.com/tektoncd/pipeline/issues/9609 issue-tracking
- github.com product
- github.com
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:24359 patch vendor-advisory
- RHSA-2026:89041 patch vendor-advisory
- RHSA-2026:89131 patch vendor-advisory
- RHSA-2026:24484 patch vendor-advisory
- Red Hat Bugzilla 2460173 issue-tracking
- www.cve.org