CVE-2026-40938
Tekton Pipelines project provides k8s-style resources for declaring …
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. From 1.0.0 to before 1.11.0, 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. This vulnerability is fixed in 1.11.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/tektoncd/pipeline/releases/tag/v1.11.1
- github.com/tektoncd/pipeline/security/advisories/GHSA-94jr-7pqp-xhcq
- github.com/advisories/GHSA-94jr-7pqp-xhcq
- nvd.nist.gov/vuln/detail/CVE-2026-40938
- access.redhat.com/errata/RHSA-2026:17546
- access.redhat.com/errata/RHSA-2026:24359
- access.redhat.com/errata/RHSA-2026:24484
- access.redhat.com/errata/RHSA-2026:26519
- nvd.nist.gov/vuln/detail/CVE-2026-40938
- cve.org/CVERecord?id=CVE-2026-40938
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.