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 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=. 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.
CVE-2026-40938
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.0%, top 89% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.5
- EG Score
- 7.5(medium)
- EPSS
- 52.4%
- KEV
- Not listed
Published
April 21, 2026
Last Modified
July 20, 2026
Advisory Details (2)
Auto-updated Jun 9, 2026Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE · Advisory · tektoncd/pipeline · GitHub
https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcqTekton Pipeline release v1.11.1 "Javanese Jocasta"
Patch available: tektoncd/pipeline v1.11.1
https://github.com/tektoncd/pipeline/releases/tag/v1.11.1Vendor Advisories for CVE-2026-40938(6)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:26538Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Pipelines Release 1.21.2
- RHSA-2026:26519Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Pipelines Release 1.21.2
- RHSA-2026:24484Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Pipelines Release 1.21.2
- RHSA-2026:24359Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Builds 1.7.3
- RHSA-2026:17546Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Builds 1.8.0
- GHSA-94jr-7pqp-xhcqGitHub Security AdvisoriesHigh
Tekton Pipeline: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE
Patch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | openshift-builds/openshift-builds-webhook-rhel9:1780374084 | 2026-06-08 | redhat |
| redhat | serve-tkn-cli-1-21-serve-tkn-cli-1.21.1 | 2026-06-08 | redhat |
| redhat | openshift-builds/openshift-builds-webhook-rhel9:1778682920 | 2026-05-14 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/tektoncd/pipeline | — | 1.0.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 40× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 116 total refreshes for this CVE.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 21:32 UTCOSV refresh
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:23 UTCNVD updateCVSS v3 → 8.5
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 01:21 UTCMITRE cvelistV5CVSS v3 → 7.5
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-08 14:36 UTCNVD updateCVSS v3 → 8.5
- 2026-07-08 12:47 UTCMITRE cvelistV5CVSS v3 → 7.5
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:32 UTCNVD updateCVSS v3 → 8.5
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 05:40 UTCVendor advisory
- 2026-06-14 17:27 UTCVendor advisory
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 05:43 UTCVendor advisory
- 2026-06-11 17:33 UTCVendor advisory
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 16:34 UTCVendor advisory
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 04:25 UTCVendor advisory
- 2026-06-09 16:14 UTCVendor advisory
- 2026-06-09 04:05 UTCVendor advisory
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 12:58 UTCVendor advisory
- 2026-06-08 00:49 UTCVendor advisory
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 12:40 UTCVendor advisory
- 2026-06-07 00:31 UTCVendor advisory
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 08:15 UTCVendor advisory
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 19:44 UTCVendor advisory
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 03:47 UTCVendor advisory
- 2026-06-04 14:23 UTCVendor advisory
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 01:10 UTCVendor advisory
- 2026-06-03 13:00 UTCVendor advisory
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 17:23 UTCVendor advisory
- 2026-06-02 05:13 UTCVendor advisory
- 2026-06-01 15:39 UTCVendor advisory
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-88
- CVE-2018-3856EG 9.9CRITICAL
- CVE-2020-28026EG 9.8EPSS 95%CRITICAL
- CVE-2020-21224EG 9.8EPSS 98%CRITICAL
- CVE-2020-25494EG 9.8EPSS 98%CRITICAL
- CVE-2020-5648EG 9.8CRITICAL
- CVE-2020-15692EG 9.8EPSS 90%CRITICAL
- CVE-2020-5599EG 9.8CRITICAL
- CVE-2020-12641EG 9.8 KEVEPSS 100%CRITICAL
- CVE-2019-12148EG 9.8CRITICAL
- CVE-2019-12147EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2026-40938?
When was CVE-2026-40938 disclosed?
Is CVE-2026-40938 actively exploited?
What is the CVSS score of CVE-2026-40938?
How do I remediate CVE-2026-40938?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40938
Is Your Infrastructure Affected by CVE-2026-40938?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.