Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE

Summary

CVECVE-2026-40938
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-21 21:16:46 UTC
Updated2026-07-08 13:16:41 UTC
DescriptionTekton 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 git resolver's revision parameter is passed directly as a positional argument to git fetch without any validation that it does not begin with a - character. Because git parses flags from mixed positional arguments, an attacker can inject arbitrary git fetch flags such as --upload-pack=<binary>. Combined with the validateRepoURL function explicitly permitting URLs that begin with / (local filesystem paths), a tenant who can submit ResolutionRequest objects can chain these two behaviors to execute an arbitrary binary on the resolver pod. The tekton-pipelines-resolvers ServiceAccount holds cluster-wide get/list/watch on all Secrets, so code execution on the resolver pod enables full cluster-wide secret exfiltration. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.

Risk And Classification

Primary CVSS: v3.1 8.5 HIGH from [email protected]

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

EPSS: 0.007880000 probability, percentile 0.518370000 (date 2026-07-09)

Problem Types: CWE-88 | CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
3.1ADPCVSS8.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary8.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Linuxfoundation Tekton Pipelines All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Tektoncd Pipeline affected >= 1.0.0, < 1.0.2 Not specified
CNA Tektoncd Pipeline affected >= 1.2.0, < 1.3.4 Not specified
CNA Tektoncd Pipeline affected >= 1.4.0, < 1.6.2 Not specified
CNA Tektoncd Pipeline affected >= 1.7.0, < 1.9.3 Not specified
CNA Tektoncd Pipeline affected >= 1.10.0, < 1.11.1 Not specified
ADP Red Hat Red Hat OpenShift Builds 1.7.4 Not specified Not specified
ADP Red Hat Red Hat OpenShift Builds 1.8.0 Not specified Not specified
ADP Red Hat Red Hat OpenShift Pipelines 1.21 Not specified Not specified
ADP Red Hat OpenShift Pipelines Not specified Not specified
ADP Red Hat OpenShift Lightspeed Not specified Not specified
ADP Red Hat OpenShift Serverless Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
ADP Red Hat Red Hat Trusted Artifact Signer Not specified Not specified

References

ReferenceSourceLinkTags
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:24484 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/tektoncd/pipeline/releases/tag/v1.11.1 [email protected] github.com Release Notes
access.redhat.com/errata/RHSA-2026:24359 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com Exploit, Vendor Advisory
access.redhat.com/security/cve/CVE-2026-40938 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:26538 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40938.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:17546 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:26519 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-04-21T21:02:16.557ZReported to Red Hat.
ADP2026-04-21T20:45:24.658ZMade public.

Solutions

ADP: RHSA-2026:24359: Red Hat OpenShift Builds 1.7.4

ADP: RHSA-2026:17546: Red Hat OpenShift Builds 1.8.0

ADP: RHSA-2026:26538: Red Hat OpenShift Pipelines 1.21

ADP: RHSA-2026:26519: Red Hat OpenShift Pipelines 1.21

ADP: RHSA-2026:24484: Red Hat OpenShift Pipelines 1.21

Workarounds

ADP: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report