{"cve":"CVE-2026-40161","nvd":{"published":"2026-04-21T17:16:53.790","modified":"2026-10-26T21:10:00.170","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-201"],"references":["https://github.com/tektoncd/pipeline/issues/9608","https://github.com/tektoncd/pipeline/issues/9609","https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff"],"products":["linuxfoundation:tekton_pipelines"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-40161","score":0.0026,"percentile":0.1759,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-wjxp-xrpv-xpff","url":"https://osv.dev/vulnerability/GHSA-wjxp-xrpv-xpff","summary":"Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL","modified":"2026-09-10T03:51:03.718202700Z","packages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.0.0 <1.0.2"],"fixed":["1.0.2"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.2.0 <1.3.4"],"fixed":["1.3.4"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.4.0 <1.6.2"],"fixed":["1.6.2"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.7.0 <1.9.3"],"fixed":["1.9.3"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.10.0 <1.11.1"],"fixed":["1.11.1"]}]},{"id":"GO-2026-5711","url":"https://osv.dev/vulnerability/GO-2026-5711","summary":"Tekton Pipelines git resolver leaks API token to user-controlled serverURL in github.com/tektoncd/pipeline","modified":"2026-07-23T19:00:13.118416843Z","packages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=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"],"fixed":["1.0.2","1.3.4","1.6.2","1.9.3","1.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}