{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40161","id":"CVE-2026-40161","title":"Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL","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 ex","descriptionLong":"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","updated":"2026-10-28T02:30:57.190854108Z","reserved":"2026-04-09T19:31:56.014Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["tektoncd pipeline"],"affectedProducts":[{"vendor":"tektoncd","product":"pipeline","defaultStatus":null,"versions":[{"version":">= 1.0.0, < 1.0.2","status":"affected"},{"version":">= 1.2.0, < 1.3.4","status":"affected"},{"version":">= 1.4.0, < 1.6.2","status":"affected"},{"version":">= 1.7.0, < 1.9.3","status":"affected"},{"version":">= 1.10.0, < 1.11.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=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"],"fixed":["1.0.2","1.3.4","1.6.2","1.9.3","1.11.1"],"advisory":"GHSA-wjxp-xrpv-xpff"}],"cwes":["CWE-201"],"aliases":["GHSA-wjxp-xrpv-xpff","GO-2026-5711"],"references":[{"url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-wjxp-xrpv-xpff","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/tektoncd/pipeline/issues/9608","tags":["x_refsource_MISC","Issue Tracking","report","web"]},{"url":"https://github.com/tektoncd/pipeline/issues/9609","tags":["x_refsource_MISC","Issue Tracking","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40161.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40161","tags":["advisory"]},{"url":"https://github.com/tektoncd/pipeline","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0027,"epssPercentile":0.19654,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40161","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40161","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40161","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wjxp-xrpv-xpff","ok":true,"note":"GHSA-wjxp-xrpv-xpff"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40161","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}