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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-21 · Modified: 2026-09-07
- Aliases: CGA-3jg7-hcv3-jq8v, CGA-3qqp-56j9-h283, CGA-434x-pj95-gj25, CGA-4crv-vxmw-rf74, CGA-4fcm-pw3q-8v34, CGA-4fhq-rfg6-wjfx, CGA-59mv-m5qg-j2g9, CGA-5gf5-x3cw-4pj2, CGA-5prq-2wxp-8fvr, CGA-6vxp-7r93-fqr8, CGA-7f56-26rr-w6r2, CGA-7v8r-6gqh-3256, CGA-87mv-pvr3-mffw, CGA-976c-9qj9-8rpw, CGA-cxgr-9m34-r3q5, CGA-cxwc-q33x-rfp4, CGA-fvrj-cfmq-vcxf, CGA-g78r-fj55-gxw8, CGA-g8jr-2fgg-p8jh, CGA-gmxg-jpv6-x88f, CGA-mqm2-7v69-j94x, CGA-qmm2-6m45-q63v, CGA-qv3p-j43c-qqfp, CGA-r5wq-hh7v-m5gg, CGA-rg76-ggxr-6pqp, CGA-rv33-23mq-xc4q, CGA-v45q-8hqq-whjh, CGA-vprr-94f4-9mc6, CGA-wrvx-4v2j-rhw9, CGA-x274-mg7f-wghx, CGA-x9vm-9gx6-qrh9, CGA-xfg2-7586-4j63, CGA-xgm6-2p6f-8rcg, CGA-xjv3-m6g3-jg87, CGA-xm26-q7jx-g2m2, GHSA-94jr-7pqp-xhcq, GO-2026-5272, 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-3jg9-3vwq-48x8, CGA-3jwr-82q8-fh5f, CGA-3r5h-v9h6-w7fc, CGA-3v99-23j4-3x88, CGA-4243-wmfw-qc3c, CGA-429q-v95v-2wq7, CGA-42qj-26wx-6qxw, CGA-463v-xgpm-24wm, CGA-477r-frwr-jhx8, CGA-47p7-68x3-mxmx, CGA-4f6q-cr3c-xjf2, 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-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-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-7f8w-j7j6-m466, CGA-7fr2-rcw9-p589, CGA-7m43-6p9q-vj8v, CGA-7rwv-5x7f-q4m7, CGA-7vjv-pfgx-466m, CGA-7vmr-cfcp-m4v4, CGA-7wh2-9chw-pvp6, CGA-824j-q2gv-3538, CGA-8599-jp4v-vw2q, CGA-88r2-7258-6f95, CGA-896x-86v8-qv23, CGA-8ch6-x5f4-22qp, CGA-8f96-j4g6-6g6w, CGA-8hp4-hvwm-wwpm, CGA-8j4f-pxf5-26r4, CGA-8jw7-rxrh-qfrm, CGA-8p3p-g532-rpmx, CGA-8q2m-87c4-xqhv, CGA-8v4c-qg27-3r7c, CGA-8vj5-xfq4-j56w, CGA-8vv3-v3xg-9j3q, CGA-8w34-54x2-v47v, CGA-9h5v-wm7h-w2g6, CGA-9jph-68v3-7hf4, CGA-9qv6-qf65-h98x, CGA-9v46-vv2m-mgpf, CGA-9vm3-g5mq-g5h3, CGA-9vrp-f897-g5xr, CGA-9x8h-89qr-98h8, CGA-c2rm-5rxr-xfxx, CGA-c3p5-5388-8chj, CGA-c4m3-mhcj-v764, CGA-c646-pv7h-rmp4, CGA-c8wf-6q5f-jwpw, CGA-chpg-mj78-6692, CGA-crx2-x8wx-g369, CGA-cvmg-865x-vpp5, CGA-cw82-m2gg-g337, CGA-f4xm-v7g3-jg3m, CGA-f82x-cfjp-m6cj, CGA-f9rg-cgvr-xh6r, CGA-fg8p-3742-vvwf, CGA-fhg7-5jwx-vq77, CGA-fvgp-4724-25w5, CGA-g2h3-qvc4-p3j3, CGA-gcqm-xxhv-m23h, CGA-ggc8-q399-2f43, CGA-gjh3-c57m-c2x5, CGA-gqv7-2phm-v86c, CGA-gr5w-jhcg-r95r, CGA-gvw9-8gwp-88g9, CGA-gxr6-h9qw-wgh2, CGA-h28w-qgf7-j6v5, CGA-h2cv-97fv-rcmf, CGA-h46x-2q3w-hqmm, CGA-h492-9f55-hj3m, CGA-h5g4-v9mx-qm89, CGA-hfmc-3652-j3qq, CGA-hh7m-97p6-4747, CGA-hjg2-3468-fr83, CGA-hm5q-58m5-fvjc, CGA-hp95-278x-v3cp, CGA-hr7v-cqph-523g, CGA-hv32-rr82-9j85, CGA-j492-h3f7-2xpm, CGA-j94f-7qjp-9972, CGA-jccc-99p5-jvrr, CGA-jf6v-hx2f-qx84, CGA-jgmf-h6r2-4r2j, CGA-jj22-2x7p-9h8g, CGA-jpjc-9mww-g4vg, CGA-jqc8-mx7g-pg7c, CGA-jr95-25qr-xpwp, CGA-jv92-w4wr-jmfw, CGA-jwwf-g8mw-m6rq, CGA-jx2p-c2g6-qcrp, CGA-jxvj-825v-gcgg, CGA-m3gm-frqc-ch6x, CGA-m7hx-mv78-ww5w, CGA-mg3f-7hwr-p4q4, CGA-mm86-9phq-m2q4, CGA-mq5p-xr4j-3vxx, CGA-mrm5-qr32-9mrw, CGA-mw87-g62r-48jf, CGA-mxxp-7vv5-9q33, CGA-p2hg-3crc-xp33, CGA-p362-2wg6-xg9m, CGA-p3qj-xhmx-8wwm, CGA-p5c6-mvp4-mgh8, CGA-p6mc-f8j7-j934, CGA-p6mr-hqm7-36g6, CGA-p82v-8295-j3pm, CGA-pf8j-6fjh-v964, CGA-phgx-cqjv-jj9j, CGA-pjfv-rfpr-5cjm, CGA-pjmp-4vxw-pcgv, CGA-pmxg-26wq-2934, CGA-ppw4-qggf-vj97, CGA-pq52-f672-8pr4, CGA-prc6-5jc8-hx8g, CGA-pv4r-8pr8-v5jq, CGA-pwpw-5mr5-9gr6, CGA-q28v-hmjw-fp4j, CGA-q3w6-4fpp-cm9f, CGA-q5hg-5crg-4c88, CGA-q6xv-66pm-699g, CGA-q9pj-36gg-663v, CGA-qch2-3jg7-ppcr, CGA-qf94-w98q-5vm6, CGA-qj6g-ww63-mjfc, CGA-qp5v-mppc-wp37, CGA-qpx3-rx99-jf9j, CGA-qwqp-fx49-hxvx, CGA-qx39-8cq5-6pm2, CGA-r226-7q22-v9jc, CGA-r2q9-prfr-69j8, CGA-r586-jmrj-738p, CGA-r65q-m3h3-pf8p, CGA-rj3h-w32h-3c4m, CGA-rmvv-jv4g-php5, CGA-rpj3-2mm2-wqj8, CGA-rprf-5469-x695, CGA-rqf6-7625-39h5, CGA-rv5v-85wm-76w4, CGA-rvxq-xr27-wr7v, CGA-rxqx-9738-w28p, CGA-v77x-69w3-jq69, CGA-v7cr-cpvx-5p7q, CGA-v8r9-8mfj-7pv5, CGA-v9cm-v47f-qh3j, CGA-vcvx-5f23-92gw, CGA-vg3f-vqwm-274g, CGA-vjqh-jwgh-98m2, CGA-vqp8-9r68-vj4f, CGA-vvwc-x76x-px2h, CGA-vw96-x24h-mq44, CGA-w677-fr9g-4rgj, CGA-whmr-vmxh-qmqc, CGA-wj3c-ch95-j9gg, CGA-wpp3-qhxg-35wv, CGA-wwj2-mjhv-6mjp, CGA-x378-7f79-h8qm, CGA-x39h-crw3-49hf, CGA-x47f-r65f-h4q8, CGA-x4gr-7gqm-cfq2, CGA-x597-wppp-5f4q, CGA-xc8r-vq8v-vgw4, CGA-xg2w-p647-j55g, CGA-xgcp-2g73-89f8, CGA-xgm8-8gpx-h2qg, CGA-xmh8-cf7j-w8p2, CGA-xq9v-c52w-px27, CGA-xqc8-wvc9-v7hc, CGA-xqxc-8rp5-hcc5
- Record: https://cvemate.com/vulnerability/CVE-2026-40938 · JSON: https://cvemate.com/vulnerability/CVE-2026-40938/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.802%, percentile 57.972%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 153)

- chainguard tekton-chains (Chainguard): \< 0.26.3-r0
- chainguard tekton-chains-fips (Chainguard): \< 0.26.3-r0
- chainguard tekton-pipelines-controller-1.0 (Chainguard): \< 1.0.2-r3
- chainguard tekton-pipelines-controller-1.10 (Chainguard): All versions (No fix recorded)
- chainguard tekton-pipelines-controller-1.3 (Chainguard): \< 1.3.4-r2
- chainguard tekton-pipelines-controller-1.4 (Chainguard): \< 1.4.0-r19
- chainguard tekton-pipelines-controller-1.5 (Chainguard): All versions (No fix recorded)
- chainguard tekton-pipelines-controller-1.6 (Chainguard): \< 1.6.2-r2
- chainguard tekton-pipelines-controller-1.7 (Chainguard): All versions (No fix recorded)
- chainguard tekton-pipelines-controller-1.9 (Chainguard): \< 1.9.3-r2
- chainguard tekton-pipelines-controller-fips-1.0 (Chainguard): \< 1.0.2-r3
- chainguard tekton-pipelines-controller-fips-1.10 (Chainguard): All versions (No fix recorded)
- chainguard tekton-pipelines-controller-fips-1.3 (Chainguard): \< 1.3.4-r2
- chainguard tekton-pipelines-controller-fips-1.4 (Chainguard): All versions (No fix recorded)
- chainguard tekton-pipelines-controller-fips-1.5 (Chainguard): All versions (No fix recorded)
- chainguard tekton-pipelines-controller-fips-1.6 (Chainguard): \< 1.6.2-r2
- chainguard tekton-pipelines-controller-fips-1.7 (Chainguard): \< 1.7.0-r14
- chainguard tekton-pipelines-controller-fips-1.9 (Chainguard): \< 1.9.3-r3
- chainguard tekton-pipelines-entrypoint-1.0 (Chainguard): \< 1.0.2-r3
- chainguard tekton-pipelines-entrypoint-1.10 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq>
- <https://github.com/tektoncd/pipeline/releases/tag/v1.11.1>
- <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>
- <https://access.redhat.com/errata/RHSA-2026:24359>
- <https://access.redhat.com/errata/RHSA-2026:17546>
- <https://access.redhat.com/errata/RHSA-2026:26538>
- <https://access.redhat.com/errata/RHSA-2026:26519>
- <https://access.redhat.com/errata/RHSA-2026:24484>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40938.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40938>
- <https://github.com/tektoncd/pipeline>

---

Data as of 2026-12-05T06:32:40.976Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
