CVE-2026-40161

CVE-2026-40161 is a high-severity vulnerability in Linuxfoundation Tekton Pipelines with a CVSS 3.x base score of 7.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-201.

Key facts

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.

Frequently asked questions

What is CVE-2026-40161?
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.
How severe is CVE-2026-40161?
CVE-2026-40161 has a CVSS 3.x base score of 7.7, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2026-40161 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-40161?
CVE-2026-40161 affects Linuxfoundation Tekton Pipelines. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-40161?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2026-40161 have an EU (EUVD) identifier?
Yes. CVE-2026-40161 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24165.
When was CVE-2026-40161 published?
CVE-2026-40161 was published on 2026-04-21 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Linuxfoundation Tekton Pipelines

All CVEs affecting Linuxfoundation Tekton Pipelines →

Other CWE-201 vulnerabilities

Browse all CWE-201 vulnerabilities →