CVE-2026-50240
🟠 MediumPipelines-as-Code, upstream and inside Builds for Red Hat OpenShift, OpenShift Pipelines, OpenShift Serverless, OpenShift Dev Spaces and Red Hat Web Terminal. This is a CI/CD privilege escalation, so the prize is whatever the pipeline service account can reach · pipelines-as-code before 0.42.4 ; 0.43.0 to before 0.48.2 ; 0.49.0 to before 0.50.1. The Red Hat product entries carry no version range and no fixed build in the record, so OpenShift customers cannot read their status off it
38.96th percentile
Exploitation
Timeline
- 06/11/2026CVE record published (CVE List)
Risk
Repository resource may create PipelineRuns, so a namespace user holding only Repository and Secret permissions runs attacker-defined pipelines as the auto-provisioned pipeline ServiceAccount, which has edit rights by default)Fix
Official 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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-862