CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (6.5) in linuxfoundation tekton pipelines. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/tektoncd/pipeline 1.0.2, 1.11.1, 1.3.4.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Ngithub.com/tektoncd/pipeline (Go): fixed in 1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1Explain CVE-2026-40161 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40161?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40161?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40161 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linuxfoundation:tekton_pipelines | from 1.0.0 through 1.10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wjxp-xrpv-xpff | 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 |
| GO-2026-5711 | Go | github.com/tektoncd/pipeline | >=1.0.0 <1.0.2 >=1.1.0 <1.3.4 >=1.4.0 <1.6.2 >=1.7.0 <1.9.3 >=1.10.0 <1.11.1 | 1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.
Red Hat rates this Moderate.
This Moderate impact information disclosure flaw affects Tekton Pipelines. A user with permissions to create TaskRun or PipelineRun resources could exfiltrate the system-configured Git API token by directing the serverURL to an attacker-controlled endpoint and omitting the token parameter. This vulnerability doesn't affect a couple of Red Hat supported products as it's using a Pipelines version previously from 1.0.0, where the affected code is not present.
To mitigate this issue, ensure that the Git API token parameter is always explicitly provided when configuring Tekton Pipelines. Additionally, restrict permissions for creating TaskRun or PipelineRun resources to only trusted users to limit the attack surface. Review and enforce policies that prevent the use of user-controlled serverURLs without proper token authentication. Configuration changes may require a restart or reload of affected services to take effect.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Builds 1.7.3 | openshift-builds/openshift-builds-controller-rhel9:1780373846 | Fixed 2026-06-08 | RHSA-2026:24359 |
| Red Hat OpenShift Builds 1.7.3 | openshift-builds/openshift-builds-git-cloner-rhel9:1780374151 | Fixed 2026-06-08 | RHSA-2026:24359 |
| Red Hat OpenShift Builds 1.7.3 | openshift-builds/openshift-builds-image-processing-rhel9:1780373835 | Fixed 2026-06-08 | RHSA-2026:24359 |
| Red Hat OpenShift Builds 1.7.3 | openshift-builds/openshift-builds-rhel9-operator:1780480839 | Fixed 2026-06-08 | RHSA-2026:24359 |
| Red Hat OpenShift Builds 1.7.3 | openshift-builds/openshift-builds-waiters-rhel9:1780374228 | Fixed 2026-06-08 | RHSA-2026:24359 |
| Red Hat OpenShift Builds 1.7.3 | openshift-builds/openshift-builds-webhook-rhel9:1780374084 | Fixed 2026-06-08 | RHSA-2026:24359 |
| Red Hat OpenShift Builds 1.9.2 | openshift-builds/openshift-builds-operator-bundle:1792762900 | Fixed 2026-10-24 | RHSA-2026:89041 |
| Red Hat OpenShift Builds 1.9.2 | openshift-builds/openshift-builds-rhel10-operator:1792749358 | Fixed 2026-10-24 | RHSA-2026:89041 |
| Red Hat OpenShift Builds 1.9.2 | openshift-builds/openshift-builds-rhel10-operator:1792859629 | Fixed 2026-10-24 | RHSA-2026:89131 |
| Red Hat OpenShift Pipelines 1.21 | serve-tkn-cli-1-21-serve-tkn-cli-1.21.1 | Fixed 2026-06-08 | RHSA-2026:24484 |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel9 | Affected | |
| OpenShift Lightspeed | openshift-lightspeed/openshift-mcp-server-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-chains-controller-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-chains-controller-rhel9 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-cli-tkn-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-cli-tkn-rhel9 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-controller-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-controller-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-entrypoint-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-entrypoint-rhel9 | Not affected | |
| 58 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40161.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.