CVE-2026-40938: Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE
tektoncd · pipeline
Vendor fix available · Affected: tektoncd pipeline · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 56% of scored CVEs
DescriptionCVE.org
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=<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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- tektoncd · pipeline>= 1.0.0, < 1.0.2; >= 1.2.0, < 1.3.4; >= 1.4.0, < 1.6.2; >= 1.7.0, < 1.9.3; >= 1.10.0, < 1.11.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- tektoncd
- Published
- April 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-40938 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-88cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-github.com
- github.com/tektoncd/pipeline/releases/tag/v1.11.1github.com
- access.redhat.com/security/cve/CVE-2026-40938access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40938.security.access.redhat.com