{"id":"CVE-2026-50240","published":"2026-11-06T21:53:53Z","modified":"2026-11-10T08:08:55Z","title":"Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace…","vendor":"Red Hat","product":"Builds for Red Hat OpenShift","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00441,"percentile":0.39183,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-50240","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484752","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/openshift-pipelines/pipelines-as-code/commit/ac1ff2337fce1ffdf888f513c6202caa95853927","tags":[]},{"url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-8m5v-wh4r-5j96","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.84},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 0.42.4",">= 0.43.0, < 0.48.2",">= 0.49.0, < 0.50.1"]},{"vendor":"Red Hat","product":"Builds for Red Hat OpenShift","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]},{"vendor":"Red Hat","product":"OpenShift Pipelines","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-09T16:28:29.975910Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-118524","exploited":false,"provenance":"source"}}