CVE-2026-140094

Description

A flaw was found in openshift-apiserver. Incomplete authorization checks in the TemplateInstance instantiation mechanism allow requests to specify arbitrary group memberships without proper validation. An authenticated attacker with standard template creation permissions (such as the default self-provisioner role) can exploit this flaw by submitting a TemplateInstance request containing forged administrative groups (e.g., system:cluster-admins). Because the openshift-controller-manager trusts these unvalidated groups when processing the request, the attacker can cause the system to perform actions with elevated rights. This flaw allows an attacker to achieve privilege escalation, potentially gaining full administrative control over the cluster.

Statement

This vulnerability is classified as Important rather than Moderate because any authenticated user possessing basic self-provisioning capabilities can achieve complete cluster-level administrative takeover. In default OpenShift deployments, standard user accounts have authorization to instantiate templates, allowing an attacker to craft requests that impersonate privileged groups during object creation. While exploitation requires active credentials and access to the cluster API, the resulting privilege escalation completely circumvents role-based access control across all namespaces.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score9.9N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeChangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactHighN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Access Control

Technical Impact: Gain Privileges or Assume Identity

If the incorrect group has more access or privileges than the intended group, the user might be able to bypass intended security policy to access unexpected resources or perform unexpected actions. The access-control system might not be able to detect malicious usage of this group membership.

Frequently Asked Questions

Want to get errata notifications? Sign up here.