cve.bz

CVE-2026-40161 linuxfoundation tekton pipelines

6.5 mediumEPSS 0.3%Fix available

Medium (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.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-201 Insertion of Sensitive Information Into Sent Data
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:tekton_pipelinesfrom 1.0.0 through 1.10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wjxp-xrpv-xpffGogithub.com/tektoncd/pipeline>=1.0.0 <1.0.21.0.2
GHSA-wjxp-xrpv-xpffGogithub.com/tektoncd/pipeline>=1.2.0 <1.3.41.3.4
GHSA-wjxp-xrpv-xpffGogithub.com/tektoncd/pipeline>=1.4.0 <1.6.21.6.2
GHSA-wjxp-xrpv-xpffGogithub.com/tektoncd/pipeline>=1.7.0 <1.9.31.9.3
GHSA-wjxp-xrpv-xpffGogithub.com/tektoncd/pipeline>=1.10.0 <1.11.11.11.1
GO-2026-5711Gogithub.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

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-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

Red Hat rates this Moderate.

Red Hat's statement

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.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat OpenShift Builds 1.7.3openshift-builds/openshift-builds-controller-rhel9:1780373846Fixed 2026-06-08RHSA-2026:24359
Red Hat OpenShift Builds 1.7.3openshift-builds/openshift-builds-git-cloner-rhel9:1780374151Fixed 2026-06-08RHSA-2026:24359
Red Hat OpenShift Builds 1.7.3openshift-builds/openshift-builds-image-processing-rhel9:1780373835Fixed 2026-06-08RHSA-2026:24359
Red Hat OpenShift Builds 1.7.3openshift-builds/openshift-builds-rhel9-operator:1780480839Fixed 2026-06-08RHSA-2026:24359
Red Hat OpenShift Builds 1.7.3openshift-builds/openshift-builds-waiters-rhel9:1780374228Fixed 2026-06-08RHSA-2026:24359
Red Hat OpenShift Builds 1.7.3openshift-builds/openshift-builds-webhook-rhel9:1780374084Fixed 2026-06-08RHSA-2026:24359
Red Hat OpenShift Builds 1.9.2openshift-builds/openshift-builds-operator-bundle:1792762900Fixed 2026-10-24RHSA-2026:89041
Red Hat OpenShift Builds 1.9.2openshift-builds/openshift-builds-rhel10-operator:1792749358Fixed 2026-10-24RHSA-2026:89041
Red Hat OpenShift Builds 1.9.2openshift-builds/openshift-builds-rhel10-operator:1792859629Fixed 2026-10-24RHSA-2026:89131
Red Hat OpenShift Pipelines 1.21serve-tkn-cli-1-21-serve-tkn-cli-1.21.1Fixed 2026-06-08RHSA-2026:24484
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/openshift-mcp-server-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-controller-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-controller-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-entrypoint-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-entrypoint-rhel9Not 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.

Attack patterns (CAPEC)

  • CAPEC-12 Choosing Message Identifier Likelihood: High · Severity: High
  • CAPEC-217 Exploiting Incorrectly Configured SSL/TLS Likelihood: Low
  • CAPEC-612 WiFi MAC Address Tracking Severity: Low
  • CAPEC-613 WiFi SSID Tracking Severity: Low
  • CAPEC-618 Cellular Broadcast Message Request Severity: Low
  • CAPEC-619 Signal Strength Tracking Severity: Low
  • CAPEC-621 Analysis of Packet Timing and Sizes Severity: Low
  • CAPEC-622 Electromagnetic Side-Channel Attack Severity: Low
  • CAPEC-623 Compromising Emanations Attack Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON