CVEBrief

Home / tektoncd / pipeline / CVE-2026-40938

CVE-2026-40938: is it exploited, and which versions of tektoncd pipeline are affected and fixed?

CVE-2026-40938 is an argument injection vulnerability in tektoncd pipeline. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: github.com/tektoncd/pipeline from 1.10.0 before 1.11.1, github.com/tektoncd/pipeline from 1.7.0 before 1.9.3, github.com/tektoncd/pipeline from 1.4.0 before 1.6.2 and 2 more (GitHub advisory GHSA-94jr-7pqp-xhcq). Fixed in 1.11.1, 1.9.3, 1.6.2, 1.3.4 and 1 more (GitHub advisory GHSA-94jr-7pqp-xhcq). Severity: High (7.5, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
github.com/tektoncd/pipeline from 1.10.0 before 1.11.1, github.com/tektoncd/pipeline from 1.7.0 before 1.9.3, github.com/tektoncd/pipeline from 1.4.0 before 1.6.2 and 2 more
GitHub advisory GHSA-94jr-7pqp-xhcq
Fixed in
1.11.1, 1.9.3, 1.6.2, 1.3.4 and 1 more
GitHub advisory GHSA-94jr-7pqp-xhcq
Severity
High 7.5
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.80% in 30 days
higher than 58% of CVEs; FIRST, December 2, 2026

What is CVE-2026-40938?

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

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.

From the CVE record by GitHub_M, last updated September 7, 2026, 12:04 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
tektoncdpipeline>= 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

As the CVE record by GitHub_M states it, last updated September 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/tektoncd/pipeline>= 1.10.0, < 1.11.11.11.1GHSA-94jr-7pqp-xhcq
Gogithub.com/tektoncd/pipeline>= 1.7.0, < 1.9.31.9.3GHSA-94jr-7pqp-xhcq
Gogithub.com/tektoncd/pipeline>= 1.4.0, < 1.6.21.6.2GHSA-94jr-7pqp-xhcq
Gogithub.com/tektoncd/pipeline>= 1.2.0, < 1.3.41.3.4GHSA-94jr-7pqp-xhcq
Gogithub.com/tektoncd/pipeline>= 1.0.0, < 1.0.21.0.2GHSA-94jr-7pqp-xhcq

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 21, 2026. Summary: Tekton Pipeline: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxfoundationtekton pipelinesfrom 1.0.0 before 1.11.0application

NVD analysis (status Modified), last modified October 26, 2026, 21:10 UTC.

How severe is CVE-2026-40938?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HGitHub_M
High 8.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:Hredhat-SADP
High 8.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-40938 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 22, 2026)
EPSS
0.80% probability of exploitation activity in the next 30 days, percentile 57.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 15, 2026
Published
April 21, 2026, 20:45 UTC
CVE record updated
September 7, 2026, 12:04 UTC by GitHub_M
NVD
Modified, last modified October 26, 2026, 21:10 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect pipeline?

Every CVE in pipeline

Questions about CVE-2026-40938

Is CVE-2026-40938 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of tektoncd pipeline are affected by CVE-2026-40938?

github.com/tektoncd/pipeline from 1.10.0 before 1.11.1, github.com/tektoncd/pipeline from 1.7.0 before 1.9.3, github.com/tektoncd/pipeline from 1.4.0 before 1.6.2, github.com/tektoncd/pipeline from 1.2.0 before 1.3.4 and github.com/tektoncd/pipeline from 1.0.0 before 1.0.2, per the GitHub advisory GHSA-94jr-7pqp-xhcq. The tables above give every range the sources list.

Which version fixes CVE-2026-40938?

1.11.1, 1.9.3, 1.6.2, 1.3.4 and 1.0.2, per the GitHub advisory GHSA-94jr-7pqp-xhcq. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-40938?

High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-40938?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.