8.5

CVE-2026-40938: Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE

Modified
AliasesCGA-3jg7-hcv3-jq8vCGA-3qqp-56j9-h283CGA-434x-pj95-gj25
Published 21-04-2026Last modified 07-09-2026

Vulnerability summary

CVE-2026-40938 is a high (CVSS 8.5) vulnerability in linuxfoundation tekton_pipelines. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 57.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.5/10
010
High · v3.1 (NVD)
EPSS score
0.80%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 21-04-2026
    PublishedVulnerability first disclosed.
  2. 07-09-2026
    Last 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

EPSS trend

Probability

0.80%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.79% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pipeline

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
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
Show all 13 references