Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-33022Tekton Pipelines: Controller can panic when setting long resolver names in TaskRun/PipelineRun
Medium 6.5
In plain English
A medium-severity security flaw in pipeline from tektoncd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Versions 0.60.0 through 1.0.0, 1.1.0 through 1.3.2, 1.4.0 through 1.6.0, 1.7.0 through 1.9.0, 1.10.0, and 1.10.1 have a denial-of-service vulnerability in that allows any user who can create a TaskRun or PipelineRun to crash the controller cluster-wide by setting .spec.taskRef.resolver (or .spec.pipelineRef.resolver) to a string of 31+ characters. The crash occurs because GenerateDeterministicNameFromSpec produces a name exceeding the 63-character DNS-1123 label limit, and its truncation logic panics on a [-1] slice bound since the generated name contains no spaces. Once crashed, the controller enters a CrashLoopBackOff on restart (as it re-reconciles the offending resource), blocking all CI/CD reconciliation until the resource is manually deleted. Built-in resolvers (git, cluster, bundles, hub) are unaffected due to their short names, but any custom resolver name triggers the bug. The fix truncates the resolver-name prefix instead of the full string, preserving the hash suffix for determinism and uniqueness. This issue has been patched in versions 1.0.1, 1.3.3, 1.6.1, 1.9.2 and 1.10.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/tektoncd/pipeline | 1.0.1 | GHSA-cv4x-93xx-wgfj |
| Go | github.com/tektoncd/pipeline | 1.3.3 | GHSA-cv4x-93xx-wgfj |
| Go | github.com/tektoncd/pipeline | 1.6.1 | GHSA-cv4x-93xx-wgfj |
| Go | github.com/tektoncd/pipeline | 1.9.2 | GHSA-cv4x-93xx-wgfj |
| Go | github.com/tektoncd/pipeline | 1.10.2 | GHSA-cv4x-93xx-wgfj |
| Go | github.com/tektoncd/pipeline | 1.0.1, 1.10.2, 1.3.3, 1.6.1, 1.9.2 | GO-2026-4730 |
Affected products (as reported)
Weakness: CWE-129 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H