Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2026-50240
- https://bugzilla.redhat.com/show_bug.cgi?id=2484752
- https://github.com/openshift-pipelines/pipelines-as-code/commit/ac1ff2337fce1ffd
- https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-8m5v-wh4r
FAQ
What is CVE-2026-50240?
CVE-2026-50240 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 Reposit...
How severe is CVE-2026-50240?
CVE-2026-50240 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50240?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.