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.
Published: 2026-11-06
Score: 8.8 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 22:00:00 +0000

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

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Openshift Builds Openshift Devspaces Openshift Pipelines Serverless Webterminal
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-06T21:53:53.997Z

Reserved: 2026-06-04T12:49:30.333Z

Link: CVE-2026-50240

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-06T22:17:58.757

Modified: 2026-11-06T22:17:58.917

Link: CVE-2026-50240

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses