Koffei

CVE-2026-50240

🟠 Medium

Pipelines-as-Code, upstream and inside Builds for Red Hat OpenShift, OpenShift Pipelines, OpenShift Serverless, OpenShift Dev Spaces and Red Hat Web Terminal. This is a CI/CD privilege escalation, so the prize is whatever the pipeline service account can reach · pipelines-as-code before 0.42.4 ; 0.43.0 to before 0.48.2 ; 0.49.0 to before 0.50.1. The Red Hat product entries carry no version range and no fixed build in the record, so OpenShift customers cannot read their status off it

CVSS (Koffei note)
8.8
CVSS (v3.1, CVE List)
8.8
EPSS (2026-11-18)
0.441%
38.96th percentile

Exploitation

No — no exploitation reported. The record has no CISA-ADP container, so no SSVC and no KEV entry. Neither CISA KEV nor its JSON feed could be reached in this run, so KEV status comes from the record's CISA-ADP container. Existing PoC (not opened), recorded from the proof-of-concept list supplied on 09/11/2026. Rated 🟠 on the public proof of concept. The default-edit-rights detail is what makes this more than a configuration quibble: the escalation path exists without the administrator having granted anything

Timeline

  1. 06/11/2026CVE record published (CVE List)

Risk

8.8 High (v3.1, Red Hat as CNA, which also rates it Important) — AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, EPSS 0.370% (31.17th percentile, scored 08/11/2026) (CWE-862 missing authorization: Pipelines-as-Code never checks whether the creator of a Repository resource may create PipelineRuns, so a namespace user holding only Repository and Secret permissions runs attacker-defined pipelines as the auto-provisioned pipeline ServiceAccount, which has edit rights by default)

Fix

Yes for upstream — 0.42.4, 0.48.2 or 0.50.1 on the respective branches. To verify for the Red Hat products, whose fixed builds the record does not state

Official 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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-862