{"id":"CVE-2026-40161","published":"2026-04-21T16:26:27Z","modified":"2026-05-21T21:20:13Z","title":"Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL","vendor":"tektoncd","product":"pipeline","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.30607,"provenance":"source"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"references":[{"url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tektoncd/pipeline/issues/9608","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipeline/issues/9609","tags":["x_refsource_MISC"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":6.12},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"tektoncd","affectedVersions":[{"vendor":"tektoncd","product":"pipeline","versions":[">= 1.0.0, < 1.0.2",">= 1.2.0, < 1.3.4",">= 1.4.0, < 1.6.2",">= 1.7.0, < 1.9.3",">= 1.10.0, < 1.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T17:41:32.164689Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/tektoncd/pipeline","vulnerableRanges":[">=1.0.0, <1.0.2",">=1.2.0, <1.3.4",">=1.4.0, <1.6.2",">=1.7.0, <1.9.3",">=1.10.0, <1.11.1",">=1.1.0, <1.3.4"],"patched":["1.0.2","1.3.4","1.6.2","1.9.3","1.11.1"],"from":["GHSA-wjxp-xrpv-xpff","GO-2026-5711"],"provenance":"source"}],"summary":{"text":"The Git resolver in API mode of Tekton Pipelines, part of the pipeline product from tektoncd, sends the system-configured Git API token to a user-supplied serverURL whenever the token parameter is left out, affecting versions from 1.0.0 before 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. An attacker with permission to create TaskRun or PipelineRun resources over the network, with low privileges and no user interaction, can point serverURL at an endpoint they control to capture the shared token, such as a GitHub PAT or GitLab token.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:48Z"},"euvd":{"id":"EUVD-2026-24165","exploited":false,"provenance":"source"}}