CVE-2026-40161: CWE-201: Insertion of Sensitive Information Into Sent Data in tektoncd pipeline
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.
AI Analysis
Technical Summary
Tekton Pipelines' git resolver in API mode improperly sends the system-configured Git API token to a server URL controlled by the user when the token parameter is omitted. This allows a tenant with create permissions on TaskRun or PipelineRun to exfiltrate shared Git API tokens such as GitHub PATs or GitLab tokens by directing the serverURL to an attacker-controlled endpoint. The vulnerability affects versions from 1.0.0 up to but not including 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. These versions include the fixes that address this issue. The CVSS 3.1 score is 7.7, indicating high severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The impact is confidentiality loss of sensitive tokens but no integrity or availability impact.
Potential Impact
An attacker with TaskRun or PipelineRun create permissions can exfiltrate sensitive Git API tokens (such as GitHub PATs or GitLab tokens) by exploiting this vulnerability. This leads to a confidentiality breach of credentials that could be used to access Git repositories or related resources. There is no direct impact on integrity or availability reported. No known exploits in the wild have been documented.
Mitigation Recommendations
Fixed versions of Tekton Pipelines are available starting from 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. Users should upgrade to one of these versions to remediate the vulnerability. Patch status is not explicitly stated in the vendor advisory content provided, but the presence of fixed versions indicates an official fix is available. Until upgraded, restrict TaskRun and PipelineRun create permissions to trusted users only to reduce risk.
CVE-2026-40161: CWE-201: Insertion of Sensitive Information Into Sent Data in tektoncd pipeline
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 v3.1
Score 7.7high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tekton Pipelines' git resolver in API mode improperly sends the system-configured Git API token to a server URL controlled by the user when the token parameter is omitted. This allows a tenant with create permissions on TaskRun or PipelineRun to exfiltrate shared Git API tokens such as GitHub PATs or GitLab tokens by directing the serverURL to an attacker-controlled endpoint. The vulnerability affects versions from 1.0.0 up to but not including 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. These versions include the fixes that address this issue. The CVSS 3.1 score is 7.7, indicating high severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The impact is confidentiality loss of sensitive tokens but no integrity or availability impact.
Potential Impact
An attacker with TaskRun or PipelineRun create permissions can exfiltrate sensitive Git API tokens (such as GitHub PATs or GitLab tokens) by exploiting this vulnerability. This leads to a confidentiality breach of credentials that could be used to access Git repositories or related resources. There is no direct impact on integrity or availability reported. No known exploits in the wild have been documented.
Mitigation Recommendations
Fixed versions of Tekton Pipelines are available starting from 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1. Users should upgrade to one of these versions to remediate the vulnerability. Patch status is not explicitly stated in the vendor advisory content provided, but the presence of fixed versions indicates an official fix is available. Until upgraded, restrict TaskRun and PipelineRun create permissions to trusted users only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T19:31:56.014Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7a9cf19fe3cd2cde6d348
Added to database: 4/21/2026, 4:46:07 PM
Last enriched: 5/22/2026, 3:05:31 PM
Last updated: 6/5/2026, 6:21:42 PM
Views: 131
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.