Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace edit-equivalent execution via auto-provisioned pipeline serviceaccount
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| unaffected |
|
||||||||||||||
| Red Hat | Builds for Red Hat OpenShift | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | unaffected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | unaffected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | unaffected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | unaffected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Pipelines | affected | — | ||||||||||||
| Red Hat | OpenShift Serverless | affected | — | ||||||||||||
| Red Hat | OpenShift Serverless | affected | — | ||||||||||||
| Red Hat | OpenShift Serverless | affected | — | ||||||||||||
| Red Hat | Red Hat OpenShift Dev Spaces | affected | — | ||||||||||||
| Red Hat | Red Hat Web Terminal | affected | — |
No data.
No data.
No data available yet.
Vendor Workaround
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.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.441% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace edit-equivalent execution via auto-provisioned pipeline serviceaccount | |
| First Time appeared |
Redhat
Redhat openshift Builds Redhat openshift Devspaces Redhat openshift Pipelines Redhat serverless Redhat webterminal |
|
| Weaknesses | CWE-862 | |
| CPEs | cpe:/a:redhat:openshift_builds:1 cpe:/a:redhat:openshift_devspaces:3 cpe:/a:redhat:openshift_pipelines:1 cpe:/a:redhat:serverless:1 cpe:/a:redhat:webterminal:1 |
|
| Vendors & Products |
Redhat
Redhat openshift Builds Redhat openshift Devspaces Redhat openshift Pipelines Redhat serverless Redhat webterminal |
|
| References |
| |
| Metrics |
cvssV3_1
|