Vulnerability
CVE-2026-40938
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.
266 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-22mm-92p5-m3q4
- CGA-23h5-4m96-8cg5
- CGA-264j-7g98-992x
- CGA-26vw-rg5g-9w5c
- CGA-27g6-25r9-28p5
- CGA-27g7-39f8-cjvq
- CGA-27x6-7wwj-2gfq
- CGA-287p-9gfv-6vr3
- CGA-298f-f4g3-5x7g
- CGA-2ccg-rh52-2x3v
- CGA-2fg9-c4jv-99gw
- CGA-2pp8-fh3w-p3h7
- CGA-2q87-wx68-4rjp
- CGA-2v33-62vh-9q74
- CGA-2wmg-67qj-pq97
- CGA-2xmx-fvjj-8q8h
- CGA-329h-364r-4pmh
- CGA-334j-6cpc-8h2w
- CGA-354v-r6w9-9cmm
- CGA-36vq-74xf-fc58
- CGA-3844-q253-fg6w
- CGA-3g8c-48ww-2x4v
- CGA-3h56-r2w7-59mr
- CGA-3jg7-hcv3-jq8v
- CGA-3jg9-3vwq-48x8
- CGA-3jwr-82q8-fh5f
- CGA-3qqp-56j9-h283
- CGA-3r5h-v9h6-w7fc
- CGA-3v99-23j4-3x88
- CGA-4243-wmfw-qc3c
- CGA-429q-v95v-2wq7
- CGA-42qj-26wx-6qxw
- CGA-434x-pj95-gj25
- CGA-463v-xgpm-24wm
- CGA-477r-frwr-jhx8
- CGA-47p7-68x3-mxmx
- CGA-4crv-vxmw-rf74
- CGA-4f6q-cr3c-xjf2
- CGA-4fcm-pw3q-8v34
- CGA-4fhq-rfg6-wjfx
- CGA-4g5w-r5jx-838c
- CGA-4mph-p2hx-92m2
- CGA-4qh2-g5rp-44jm
- CGA-4r54-rmjc-9hgg
- CGA-4v5v-8wj8-vr2q
- CGA-4vmq-g6j4-pxvv
- CGA-53gq-98p5-p2vh
- CGA-53xf-5839-8w2r
- CGA-54v4-jq2q-5w8j
- CGA-55c2-pmxh-gc46
- CGA-59mv-m5qg-j2g9
- CGA-5gf5-x3cw-4pj2
- CGA-5prq-2wxp-8fvr
- CGA-5qg7-c8rg-rpcw
- CGA-5wcv-26g3-h6fq
- CGA-642r-3vgm-4gp2
- CGA-658j-xccp-f65r
- CGA-65cf-fh92-2cqw
- CGA-669r-xfwp-h4hc
- CGA-66jh-q399-mxr3
- CGA-68v7-j5wp-w2qx
- CGA-6924-3375-hqwp
- CGA-6c8v-pqq4-2534
- CGA-6cwc-gggm-2p65
- CGA-6f7v-4f92-g4x3
- CGA-6m6j-8h23-2272
- CGA-6q8g-6c47-hqr7
- CGA-6qxw-ww95-fcgx
- CGA-6r37-w59w-f75v
- CGA-6r6q-5f4x-44m6
- CGA-6rrv-h4qv-8vcx
- CGA-6vp6-8jcc-qcfm
- CGA-6vwg-r458-q9g7
- CGA-6vxp-7r93-fqr8
- CGA-6xf4-2mwc-jj6f
- CGA-728w-fw99-5cww
- CGA-75fq-q9r9-697x
- CGA-7724-56vc-c384
- CGA-77qq-x3f2-wgfg
- CGA-782g-h3j3-x84f
- CGA-787f-vmh2-6m2h
- CGA-78r8-fpcq-jm9x
- CGA-78rq-crjq-98vp
- CGA-7984-2cv3-wxr2
- CGA-7f56-26rr-w6r2
- CGA-7f8w-j7j6-m466
- CGA-7fr2-rcw9-p589
- CGA-7m43-6p9q-vj8v
- CGA-7rwv-5x7f-q4m7
- CGA-7v8r-6gqh-3256
- CGA-7vjv-pfgx-466m
- CGA-7vmr-cfcp-m4v4
- CGA-7wh2-9chw-pvp6
- CGA-824j-q2gv-3538
- CGA-8599-jp4v-vw2q
- CGA-87mv-pvr3-mffw
- CGA-88r2-7258-6f95
- CGA-896x-86v8-qv23
- CGA-8ch6-x5f4-22qp
- CGA-8f96-j4g6-6g6w
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-40938.
References
- https://github.com/tektoncd/pipeline/releases/tag/v1.11.1
- https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq
- https://access.redhat.com/errata/RHSA-2026:17546
- https://access.redhat.com/errata/RHSA-2026:24359
- https://access.redhat.com/errata/RHSA-2026:24484
- https://access.redhat.com/errata/RHSA-2026:26519
- https://access.redhat.com/errata/RHSA-2026:26538
- https://access.redhat.com/security/cve/CVE-2026-40938
- https://bugzilla.redhat.com/show_bug.cgi?id=2460292
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40938.json