{"id":"CVE-2026-40161","aliases":["GHSA-wjxp-xrpv-xpff","GO-2026-5711"],"url":"https://o3.security/vulnerability/CVE-2026-40161","summary":"Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL","details":"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.","published":"2026-04-21T16:26:27.381Z","modified":"2026-07-31T18:31:11.347839725Z","cvss":{"score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.0.2"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.3.4"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.6.2"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.9.3"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.11.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40161.json"},{"type":"ADVISORY","url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40161"},{"type":"REPORT","url":"https://github.com/tektoncd/pipeline/issues/9608"},{"type":"REPORT","url":"https://github.com/tektoncd/pipeline/issues/9609"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-31T18:31:11.347839725Z"}}