CVE Vulnerabilities

CVE-2026-40161

Insertion of Sensitive Information Into Sent Data

Published: Apr 21, 2026 | Modified: Jun 17, 2026
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
7.7 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Ubuntu
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.

Affected Software

NameVendorStart VersionEnd Version
Tekton_pipelinesLinuxfoundation1.0.0 (including)1.10.0 (including)
Red Hat OpenShift Builds 1.7.3RedHatopenshift-builds/openshift-builds-controller-rhel9:1780373846*
Red Hat OpenShift Builds 1.7.3RedHatopenshift-builds/openshift-builds-git-cloner-rhel9:1780374151*
Red Hat OpenShift Builds 1.7.3RedHatopenshift-builds/openshift-builds-image-processing-rhel9:1780373835*
Red Hat OpenShift Builds 1.7.3RedHatopenshift-builds/openshift-builds-rhel9-operator:1780480839*
Red Hat OpenShift Builds 1.7.3RedHatopenshift-builds/openshift-builds-waiters-rhel9:1780374228*
Red Hat OpenShift Builds 1.7.3RedHatopenshift-builds/openshift-builds-webhook-rhel9:1780374084*
Red Hat OpenShift Pipelines 1.21RedHatserve-tkn-cli-1-21-serve-tkn-cli-1.21.1*

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References