Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege namespace user
-
ExploitCreate malicious Repository CR and Secret
-
ExecutionPAC runs attacker PipelineRun as pipeline ServiceAccount
-
ImpactAbuse ClusterRole/edit to read Secrets and modify resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires OpenShift Pipelines with Pipelines-as-Code (PAC) deployed, and an attacker who is an authenticated namespace user already holding Repository and Secret create/delete permissions (PR:L). The attack depends on PAC's design of executing PipelineRuns as the auto-provisioned pipeline ServiceAccount, which by default is bound to ClusterRole/edit - if that default binding is restricted, the escalation surface shrinks. Limiting factors: the attacker cannot be anonymous or external-only, must have the specific RBAC rights named above, and impact is namespace-scoped (S:U) rather than cluster-wide. It is most dangerous in multi-tenant clusters where untrusted or semi-trusted users share namespaces with privileged pipeline ServiceAccounts. |
| Impact | This is a genuine, elevated-priority issue rather than a high-CVSS paper risk, but it is not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) reflects a network-reachable Kubernetes API attack that is low-complexity and requires only low privileges (PR:L) - specifically a namespace user who already holds Repository and Secret create/delete permissions - with no user interaction. CWE-862 (Missing Authorization) matches the described flaw: PAC never checks whether the Repository CR creator may create PipelineRuns. The vuln.today decision label is 'this_week', consistent with a serious-but-not-drop-everything priority. No EPSS score was supplied, so exploitation-probability modeling is unavailable; this is a data gap, not a low score. There is no CISA KEV listing and no verified exploit code among the references (only the Red Hat advisory and Bugzilla ticket), so exploitation status is 'no public exploit identified at time of analysis'. The main factor tempering raw severity is the PR:L prerequisite: the attacker must already be an authenticated namespace tenant with specific create/delete rights, which limits this to insider or already-foothold scenarios rather than anonymous internet exploitation. Impact is nonetheless high within the namespace (Secret disclosure, resource CRUD, and CI/CD supply-chain injection), making it a real priority in multi-tenant OpenShift clusters. |
| Exploit ScenarioDerived | A low-privileged tenant in a shared OpenShift namespace, holding only Repository and Secret create/delete rights, creates a malicious Repository custom resource and supporting Secret that drive PAC to execute an attacker-controlled PipelineRun. Because PAC runs that PipelineRun as the auto-provisioned pipeline ServiceAccount (bound to ClusterRole/edit by default), the attacker gains the ability to read Secrets and create, modify, or delete resources across the namespace. No public exploit code has been identified, and exploitation requires the attacker to already be an authenticated namespace user (PR:L), so this is primarily an insider or post-foothold escalation path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Namespace-scoped privilege escalation in Red Hat OpenShift Pipelines-as-Code (PAC) allows an authenticated namespace user holding only Repository and Secret create/delete permissions to force the controller into running attacker-controlled PipelineRuns under the auto-provisioned pipeline ServiceAccount, which is bound to ClusterRole/edit by default. The payoff is Secret read plus broad resource create/modify/delete inside the namespace, giving a practical path to supply-chain injection in CI/CD namespaces. Red Hat rates it CVSS 8.8 and queues it as this_week priority; no public exploit identified at time of analysis and the issue is not in CISA KEV, though the confused-deputy design makes it dangerous in multi-tenant clusters where semi-trusted users share namespaces with privileged pipeline ServiceAccounts.
RemediationAI
No vendor-released patch identified at time of analysis - the available data contains no fixed version for any OpenShift Pipelines branch, so track https://access.redhat.com/security/cve/CVE-2026-50240 and https://bugzilla.redhat.com/show_bug.cgi?id=2484752 for the advisory and erratum before treating any build as remediated. Actionable compensating controls in the meantime: remove ClusterRole/edit from the auto-provisioned pipeline ServiceAccount and substitute a least-privilege role limited to the specific resources the pipelines must touch - the trade-off is that pipelines which create deployments, routes or configmaps will fail until the role is widened; tighten RBAC so only trusted users and groups can create or update Repository and Secret objects in CI/CD namespaces - the trade-off is reduced self-service onboarding and more namespace-admin involvement; and segregate untrusted or semi-trusted tenants away from namespaces that host pipelines running under privileged ServiceAccounts - the trade-off is additional namespace sprawl and duplicated pipeline configuration. The vendor advisory remains the authoritative source for the final fix version and any configuration-level guidance.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-862 (Missing Authorization): PAC never checks whether the creator of a Repository custom resource is actually entitled to create PipelineRuns, so the controller acts as a confused deputy on that user's behalf. PAC is the CI/CD layer that watches Repository objects on OpenShift Pipelines (Tekton) and translates Git-side events into PipelineRun executions; those runs are launched under the auto-provisioned pipeline ServiceAccount, which ships bound to ClusterRole/edit by default. The assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H confirms network reachability, low privileges required and no user interaction, with Scope Unchanged - consistent with escalation confined to the namespace rather than cluster-wide takeover. The precise triggering sequence beyond the Repository creation path is not described in the available sources. The escalation surface is directly tied to that default edit binding: if the binding is restricted, the blast radius shrinks accordingly, and the highest-risk deployments are multi-tenant clusters where untrusted or semi-trusted users are allowed to create Repository and Secret objects in namespaces hosting pipelines with privileged ServiceAccounts.
Know when Openshift Pipelines gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Kubernetes API is network-reachable (AV:N) and the flaw needs no special timing (AC:L); the attacker must be an authenticated namespace tenant with create/delete rights (PR:L); impact stays namespace-scoped (S:U) but allows Secret read and resource control (C/I/A:H).
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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 POC Analysis
CWE-862 (Missing Authorization) implemented as a confused deputy inside the Pipelines-as-Code (PAC) controller.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-50240 is a high-severity privilege escalation flaw in Red Hat OpenShift Pipelines-as-Code that lets ordinary users with limited namespace permissions elevate to control the auto-provisioned pipeline ServiceAccount, which carries ClusterRole/edit rights. In multi-tenant clusters where semi-trusted users share CI/CD namespaces, this creates a realistic path to supply-chain injection and secret exposure, so security leadership should treat any shared Pipelines-as-Code environment as potentially compromised until controls are in place.
No vendor-released patch identified at time of analysis. Interim mitigations: revoke Repository and Secret create/delete permissions from semi-trusted namespace users, replace the default ClusterRole/edit binding on auto-provisioned pipeline ServiceAccounts with a least-privilege namespace-scoped Role, isolate CI/CD namespaces from shared multi-tenant workloads, and monitor PipelineRun executions and Secret reads for anomalous controller-initiated activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)CVE.org
More in Openshift Pipelines
View allDenial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
A heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2
EUVD-2026-118524
GHSA-xgwg-gwg9-92cx
NVD
CVE.org
EPSS
VulDB
Exploit-DB