CVE-2026-25542 Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Starting in version 0.43.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, trusted resources verification policies match a resource source string (refSource.URI) against spec.resources[].pattern using regexp.MatchString. In Go, regexp.MatchString reports a match if the pattern matches anywhere in the string, so common unanchored patterns (including examples in tekton documentation) can be bypassed by attacker-controlled source strings that contain the trusted pattern as a substring. This can cause an unintended policy match and change which verification mode/keys apply. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.
Upgrade path
48 packages: 2 fixed, 45 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/openshift-builds/openshift-builds-controller-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-rhel9-operator(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-waiters-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-builds/openshift-builds-webhook-rhel9(Red Hat openshift_builds 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-chains-controller-rhel8(Red Hat openshift_pipelines 1) | 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-rhel8(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-git-init-rhel8(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-rhel8(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-rhel8(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-rhel8(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-opc-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-webhook-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-operator-webhook-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
… and 18 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tektoncd github.com/tektoncd/pipeline(Go) | >= 0.43.0, < 1.0.2 | 1.0.2 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.2.0, < 1.3.4 | 1.3.4 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.4.0, < 1.6.2 | 1.6.2 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.7.0, < 1.9.3 | 1.9.3 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.10.0, < 1.11.1 | 1.11.1 |
| tektoncd github.com/tektoncd/pipeline(Go) | >= 1.1.0, < 1.3.4 | 1.3.4 |
| tektoncd github.com/tektoncd/pipeline | = >= 0.43.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/openshift-builds-controller-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-git-cloner-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-bundler-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-image-processing-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-rhel9-operator(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-waiters-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-builds/openshift-builds-webhook-rhel9(Red Hat:openshift_builds:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-chains-controller-rhel8(Red Hat:openshift_pipelines:1) | 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-rhel8(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-git-init-rhel8(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-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
Show 42 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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-rhel8(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-rhel8(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-opc-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-operator-proxy-rhel8(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-rhel8(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-rhel8(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-rhel8(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-rhel8(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-pruner-controller-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-rhel8-operator(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-rhel9-operator(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-triggers-controller-rhel8(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-rhel8(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-rhel8(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-rhel8(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-serverless-1/kn-client-kn-rhel9(Red Hat:serverless:1) | All versions | No fix listed |
| redhat/openshift-serverless-1/kn-plugin-func-func-util-rhel9(Red Hat:serverless:1) | All versions | No fix listed |
| redhat/rhoai/odh-ml-pipelines-api-server-v2-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ml-pipelines-driver-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ml-pipelines-launcher-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-ssp-operator-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-template-validator-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/rhtas/ec-rhel9(Red Hat:trusted_artifact_signer:1) | All versions | No fix listed |
| linuxfoundation tekton pipelines | >= 0.43.0, < 1.11.0 | 1.11.0 |
References
- https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a patch
- github.com product
- github.com
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2460159 issue-tracking
- www.cve.org