CVE-2026-50240
Published:November 06, 2026
Updated:November 09, 2026
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.
Affected Packages
https://github.com/tektoncd/pipelines-as-code.git (GITHUB):
Affected version(s) >=0.1 <v0.42.4 || >=v0.11.0 <v0.42.4Fix Suggestion:
Update to version v0.42.4https://github.com/tektoncd/pipelines-as-code.git (GITHUB):
Affected version(s) >=v0.49.0 <v0.50.1Fix Suggestion:
Update to version v0.50.1https://github.com/tektoncd/pipelines-as-code.git (GITHUB):
Affected version(s) >=v0.43.0 <v0.48.2Fix Suggestion:
Update to version v0.48.2github.com/openshift-pipelines/pipelines-as-code (GO):
Affected version(s) >=v0.43.0 <v0.48.2Fix Suggestion:
Update to version v0.48.2github.com/openshift-pipelines/pipelines-as-code (GO):
Affected version(s) >=v0.11.0 <v0.42.4Fix Suggestion:
Update to version v0.42.4github.com/openshift-pipelines/pipelines-as-code (GO):
Affected version(s) >=v0.49.0 <v0.50.1Fix Suggestion:
Update to version v0.50.1Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Missing Authorization
EPSS
Base Score:
0.37