CVE-2026-40938

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
0.788%
chance of exploitation in the next 30 days
higher than 56.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2026-04-22

Timeline

  1. 2026-04-21Published by the CNA20:45 UTC
  2. 2026-04-21GitHub advisory published (GHSA-94jr-7pqp-xhcq)same day
  3. 2026-04-22CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-94jr-7pqp-xhcq, affected packages:

PackageVulnerable versionsFixed in
Go github.com/tektoncd/pipelinefrom 1.0.0 before 1.0.21.0.2
Go github.com/tektoncd/pipelinefrom 1.10.0 before 1.11.11.11.1
Go github.com/tektoncd/pipelinefrom 1.2.0 before 1.3.41.3.4
Go github.com/tektoncd/pipelinefrom 1.4.0 before 1.6.21.6.2
Go github.com/tektoncd/pipelinefrom 1.7.0 before 1.9.31.9.3

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
linuxfoundation tekton_pipelinesfrom 1.0.0 before 1.11.0fixed in 1.11.01.11.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources