CVE-2026-40938 Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
57 packages: 3 fixed, 1 partially fixed, 49 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift ai | All versions | No fix listed | No fix yet |
| redhat openshift lightspeed | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-controller-rhel9:1778683229(Red Hat openshift_builds 1.8 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-controller-rhel9:1780373846(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9:1778683134(Red Hat openshift_builds 1.8 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9:1780374151(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9:1778683436(Red Hat openshift_builds 1.8 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9:1780373867(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9:1778682932(Red Hat openshift_builds 1.8 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9:1780373835(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-operator-bundle:1792762900(Red Hat openshift_builds 1.9 el10) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792749358(Red Hat openshift_builds 1.9 el10) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792859629(Red Hat openshift_builds 1.9 el10) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel9-operator:1780480839(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-waiters-rhel9:1778682930(Red Hat openshift_builds 1.8 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-waiters-rhel9:1780374228(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-webhook-rhel9:1778682920(Red Hat openshift_builds 1.8 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-webhook-rhel9:1780374084(Red Hat openshift_builds 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-chains-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-cli-tkn-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-entrypoint-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-events-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-git-init-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-api-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-nop-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-opc-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-bundle:1781686494(Red Hat openshift_pipelines 1.21 el9) | All versions | No fix listed | No fix yet |
… and 27 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.10.0, < 1.11.1 | 1.11.1 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.7.0, < 1.9.3 | 1.9.3 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.4.0, < 1.6.2 | 1.6.2 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.2.0, < 1.3.4 | 1.3.4 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.0.0, < 1.0.2 | 1.0.2 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.1.0, < 1.3.4 | 1.3.4 |
| tektoncd github.com/tektoncd/pipeline | = >= 1.0.0, < 1.0.2 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.2.0, < 1.3.4 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.4.0, < 1.6.2 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.7.0, < 1.9.3 | No fix listed |
| tektoncd github.com/tektoncd/pipeline | = >= 1.10.0, < 1.11.1 | No fix listed |
| redhat openshift builds | < 1780373846 | 1780373846 |
| redhat openshift builds | < 1780374151 | 1780374151 |
| redhat openshift builds | < 1780373867 | 1780373867 |
| redhat openshift builds | < 1780373835 | 1780373835 |
| redhat openshift builds | < 1780480839 | 1780480839 |
| redhat openshift builds | < 1780374228 | 1780374228 |
| redhat openshift builds | < 1780374084 | 1780374084 |
| redhat openshift builds | < 1778683229 | 1778683229 |
| redhat openshift builds | < 1778683134 | 1778683134 |
| redhat openshift builds | < 1778683436 | 1778683436 |
| redhat openshift builds | < 1778682932 | 1778682932 |
| redhat openshift builds | < 1778682930 | 1778682930 |
| redhat openshift builds | < 1778682920 | 1778682920 |
| redhat openshift pipelines | < cli-1.21.1 | cli-1.21.1 |
Show 57 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat openshift pipelines | < 1780645012 | 1780645012 |
| redhat openshift pipelines | < 1781686494 | 1781686494 |
| redhat openshift lightspeed | All versions | No fix listed |
| redhat openshift pipelines | = 1 | No fix listed |
| redhat openshift pipelines | All versions | No fix listed |
| redhat serverless | = 1 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat container native virtualization | = 4 | No fix listed |
| redhat trusted artifact signer | = 1 | No fix listed |
| redhat/openshift-builds/openshift-builds-controller-rhel9:1780373846(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9:1780374151(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9:1780373867(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9:1780373835(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel9-operator:1780480839(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-waiters-rhel9:1780374228(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-webhook-rhel9:1780374084(Red Hat:openshift_builds:1.7::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-controller-rhel9:1778683229(Red Hat:openshift_builds:1.8::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9:1778683134(Red Hat:openshift_builds:1.8::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9:1778683436(Red Hat:openshift_builds:1.8::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9:1778682932(Red Hat:openshift_builds:1.8::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-waiters-rhel9:1778682930(Red Hat:openshift_builds:1.8::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-webhook-rhel9:1778682920(Red Hat:openshift_builds:1.8::el9) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-operator-bundle:1792762900(Red Hat:openshift_builds:1.9::el10) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792749358(Red Hat:openshift_builds:1.9::el10) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel10-operator:1792859629(Red Hat:openshift_builds:1.9::el10) | All versions | No fix listed |
| redhat/serve-tkn-cli-1-21-serve-tkn-cli-1.21.1(Red Hat:openshift_pipelines:1.21::el9) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-rhel9-operator:1780645012(Red Hat:openshift_pipelines:1.21::el9) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-bundle:1781686494(Red Hat:openshift_pipelines:1.21::el9) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-chains-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-cli-tkn-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-entrypoint-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-events-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-git-init-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-api-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-nop-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-opc-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pruner-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-resolvers-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-results-api-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-results-watcher-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-sidecarlogresults-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-controller-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-core-interceptors-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-eventlistenersink-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-webhook-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-workingdirinit-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| linuxfoundation tekton pipelines | >= 1.0.0, < 1.11.0 | 1.11.0 |
References
- https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- RHSA-2026:17546 patch vendor-advisory
- RHSA-2026:24359 patch vendor-advisory
- RHSA-2026:24484 patch vendor-advisory
- RHSA-2026:26519 patch vendor-advisory
- RHSA-2026:26538 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2460292 issue-tracking
- github.com product
- https://github.com/tektoncd/pipeline/releases/tag/v1.11.1 release-notes
- security.access.redhat.com
- github.com
- RHSA-2026:89041 patch vendor-advisory
- RHSA-2026:89131 patch vendor-advisory
- www.cve.org