CVE-2026-50240
JSON

8.8high

Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace edit-equivalent execution via auto-provisioned pipeline serviceaccount

Severity
8.8high CVSS:3.1 by redhat
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
pipelines-as-codebefore 0.42.4, from 0.43.0 before 0.48.2, from 0.49.0 before 0.50.1CVE List
openshift-builds/openshift-builds-rhel9-operatorNot specifiedCVE List
openshift-pipelines-clientNot specifiedCVE List
openshift-pipelines/pipelines-cli-tkn-rhel8Not specifiedCVE List
openshift-pipelines/pipelines-cli-tkn-rhel9Not specifiedCVE List
openshift-pipelines/pipelines-opc-rhel9Not specifiedCVE List
openshift-pipelines/pipelines-operator-proxy-rhel8Not specifiedCVE List
openshift-pipelines/pipelines-operator-proxy-rhel9Not specifiedCVE List
openshift-pipelines/pipelines-operator-webhook-rhel8Not specifiedCVE List
openshift-pipelines/pipelines-operator-webhook-rhel9Not specifiedCVE List
openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8Not specifiedCVE List
openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9Not specifiedCVE List

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50240 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-50240 changed 2026-11-10Public domain