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 published · updated

8.8
CVSS score out of 10 · NVD (redhat.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
builds for red hat openshift red hat —— CVE.org
openshift pipelines red hat —— CVE.org
openshift serverless red hat —— CVE.org
red hat openshift dev spaces red hat —— CVE.org
red hat web terminal red hat —— CVE.org

References