CVE-2026-50240
Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace edit-equivalent execution via auto-provisioned pipeline serviceaccount
- High 8.8
Description
A flaw was found in OpenShift Pipelines-as-Code (PAC). PAC does not verify whether the creator of a Repository custom resource has permission to create PipelineRuns. A namespace user with only Repository and Secret create/delete permissions can cause PAC to execute attacker-controlled PipelineRuns as the auto-provisioned pipeline ServiceAccount, which carries ClusterRole/edit by default. This results in namespace-scoped privilege escalation, enabling Secret read, resource creation/modification/deletion, and potential supply chain injection in CI/CD namespaces.
Key facts
- Published
- 6 Nov 2026
- Last changed
- 10 Nov 2026
- Assigned by
- redhat
- EPSS
- 0.441% likely to be exploited in the next 30 days, higher than 38.842% of CVEs (scores for 16 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 8.8CVSS 3.1, Highfrom the CNA (redhat)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What to do
- Set legacyPipelineRbac to false in the TektonConfig custom resource. This prevents the OpenShift Pipelines operator from auto-provisioning the openshift-pipelines-edit RoleBinding that grants the pipeline ServiceAccount ClusterRole/edit in every namespace. Warning: this may break existing pipelines that rely on the pipeline ServiceAccount having edit permissions. Simply deleting the openshift-pipelines-edit RoleBinding is NOT sufficient — the operator reconciliation loop will re-create it unless legacyPipelineRbac is set to false.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Builds for Red Hat OpenShift |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Pipelines |
|
| Red Hat | OpenShift Serverless |
|
| Red Hat | OpenShift Serverless |
|
| Red Hat | OpenShift Serverless |
|
| Red Hat | Red Hat OpenShift Dev Spaces |
|
| Red Hat | Red Hat Web Terminal |
|
Timeline
- 12 May 2026 Reported to Red Hat.
- 27 Aug 2026 Made public.
- 6 Nov 2026 Published