CVE-2026-40161 PUBLISHED

Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL

Assigner: GitHub_M
Reserved: 09.04.2026 Published: 21.04.2026 Updated: 21.04.2026

Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. From 1.0.0 to 1.10.0, 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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS Score: 7.7

Product Status

Vendor tektoncd
Product pipeline
Versions
  • Version >= 1.0.0, <= 1.10.0 is affected

References

Problem Types

  • CWE-201: Insertion of Sensitive Information Into Sent Data CWE