Public vulnerability disclosure

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

publishedCWE-862

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.

Technical severity8.8 highCVSS 3.1 · CNA: redhat
Published2026-11-06Source updated 2026-11-06
Collected2026-11-061 attributed source

Fixes and workarounds

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.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Builds for Red Hat OpenShift
Red Hat
openshift-builds/openshift-builds-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines-client
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-cli-tkn-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-cli-tkn-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-opc-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-operator-proxy-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-operator-proxy-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-operator-webhook-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-operator-webhook-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-rhel8-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Pipelines
Red Hat
openshift-pipelines/pipelines-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Serverless
Red Hat
openshift-serverless-1/kn-client-kn-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Serverless
Red Hat
openshift-serverless-1/kn-plugin-func-func-util-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
OpenShift Serverless
Red Hat
openshift-serverless-clients
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Dev Spaces
Red Hat
devspaces/udi-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Web Terminal
Red Hat
web-terminal/web-terminal-tooling-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 8.8
high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide