← Back to search

CVE-2026-50240

8.8 HIGHpublic exploit available

Published 2026-11-06 · Updated 2026-11-10

AI risk analysis

Summary
OpenShift Pipelines-as-Code (PAC) lacks authorization checks when creating Repository custom resources, allowing low-privileged users to trigger PipelineRuns executed with elevated ServiceAccount permissions (ClusterRole/edit). This enables namespace-scoped privilege escalation, letting attackers read Secrets, modify/delete resources, and inject malicious code into CI/CD pipelines.
Exploitability
Exploitation requires only namespace-level create/delete permissions on Repository and Secret resources, with no user interaction or complex conditions beyond standard cluster access.
Blast radius
Successful exploitation allows full compromise of the target namespace, including credential theft via Secret access and supply chain poisoning by injecting malicious pipeline steps.
Detection
Monitor for PipelineRun resources created with 'pipelines-as-code' annotations where the triggering Repository custom resource was created by a user lacking explicit permission to create PipelineRuns; inspect PAC controller logs for unauthorized reconciliation events and verify ServiceAccount binding mismatches in namespace-scoped ClusterRoleBindings.
Prioritized remediation
Upgrade to OpenShift Pipelines-as-Code version 2.590 or later, which implements proper RBAC validation for Repository-to-PipelineRun creation flows.
privilege-escalationrbac-bypassci-cd-compromisesupply-chain-injectionkubernetes

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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 vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-862

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.