CVE-2026-40938: linuxfoundation tekton_pipelines Argument Injection
Vulnerability summary
CVE-2026-40938 is a high (CVSS 8.5) Argument Injection vulnerability in linuxfoundation tekton_pipelines. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 59% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 21-04-2026PublishedVulnerability first disclosed.
- 07-09-2026Last modifiedVulnerability information updated.
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 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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
+0.12 pp
From 0.79% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPipeline
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard132 products
- tekton-chains< 0.26.3-r0
- tekton-chains-fips< 0.26.3-r0
- tekton-pipelines-controller-1.0< 1.0.2-r3
- tekton-pipelines-controller-1.10All versions (No fix recorded)
- tekton-pipelines-controller-1.3< 1.3.4-r2
Wolfi18 products
- tekton-chains< 0.26.3-r0
- tekton-pipelines-controller-1.10All versions (No fix recorded)
- tekton-pipelines-controller-1.9< 1.9.3-r2
- tekton-pipelines-entrypoint-1.10All versions (No fix recorded)
- tekton-pipelines-entrypoint-1.9< 1.9.3-r2
Github.com/tektoncd1 product
- pipeline≥ 1.7.0, < 1.9.3 | ≥ 1.4.0, < 1.6.2 | ≥ 1.2.0, < 1.3.4 | ≥ 1.0.0, < 1.0.2 | ≥ 1.10.0, < 1.11.1
Linuxfoundation1 product
- tekton_pipelines≥ 1.0.0, < 1.11.0
Tektoncd1 product
- 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
5 vendors · 153 products
References
13 links- github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcqX Refsource CONFIRMAdvisoryWEBExploitVendor Advisory
Show all 13 references
- github.com/tektoncd/pipelinePACKAGE