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

Published Nov 6, 2026
·
Updated

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.

Event History

Nov 6, 2026
CVE Published
via MITRE·09:53 PM
Data Sourced
via MITRE·09:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A user in a namespace who can create and delete Repository and Secret custom resources can exploit it, even if they do not have permission to create PipelineRuns. The resulting access is limited to the affected namespace, but can include reading Secrets and creating, modifying, or deleting namespace resources.

2

Is the default PAC service account configuration affected?

Yes. The auto-provisioned pipeline ServiceAccount carries the ClusterRole/edit role by default, which provides the elevated namespace-level permissions used in this escalation.

3

What does an attacker need to do to trigger the elevated execution?

The attacker needs to create a Repository custom resource and provide attacker-controlled PipelineRun content. PAC can then execute that PipelineRun using the auto-provisioned pipeline ServiceAccount rather than enforcing the Repository creator's PipelineRun permissions.

4

What are the likely impacts in a CI/CD namespace?

An attacker can read Secrets and create, change, or delete namespace-scoped resources through the pipeline ServiceAccount. This can also enable supply-chain injection in CI/CD namespaces.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203