{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40938","published":"2026-04-21T21:16:46.283000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Modified","cvss":{"version":"3.1","score":8.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-88"],"cpes":[{"criteria":"cpe:2.3:a:linuxfoundation:tekton_pipelines:*:*:*:*:*:go:*:*","part":"a","vendor":"linuxfoundation","product":"tekton_pipelines","version_start_including":"1.0.0","version_end_excluding":"1.11.0"}],"cpes_truncated":false,"vendors":["linuxfoundation"],"products":["linuxfoundation/tekton_pipelines"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-94jr-7pqp-xhcq","ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[{"introduced":"1.10.0","fixed":"1.11.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-94jr-7pqp-xhcq","ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[{"introduced":"1.7.0","fixed":"1.9.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-94jr-7pqp-xhcq","ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[{"introduced":"1.4.0","fixed":"1.6.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-94jr-7pqp-xhcq","ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[{"introduced":"1.2.0","fixed":"1.3.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-94jr-7pqp-xhcq","ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[{"introduced":"1.0.0","fixed":"1.0.2"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5272","ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[{"introduced":"1.0.0","fixed":"1.0.2"},{"introduced":"1.1.0","fixed":"1.3.4"},{"introduced":"1.4.0","fixed":"1.6.2"},{"introduced":"1.7.0","fixed":"1.9.3"},{"introduced":"1.10.0","fixed":"1.11.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-40938/","html_en":"/en/cve/CVE-2026-40938/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40938","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40938"},"untrusted":{"vendor_name":"Linuxfoundation","product_name":"Tekton Pipelines","desc_en":"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.","affected":[{"untrusted_vendor":"tektoncd","untrusted_product":"pipeline","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Builds 1.7.3","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Builds 1.8.1","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Pipelines 1.21","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"OpenShift Lightspeed","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"OpenShift Pipelines","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"OpenShift Serverless","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift AI (RHOAI)","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Virtualization 4","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Trusted Artifact Signer","versions":[]}],"references":[{"url":"https://github.com/tektoncd/pipeline/releases/tag/v1.11.1","tags":["Release Notes"]},{"url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq","tags":["Exploit","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17546","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:24359","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:24484","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:26519","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:26538","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40938","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460292","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40938.json","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}