Critical CVSS 9.9 Security news
OpenShift CVE-2026-140094: a regular user can forge cluster-admin groups through TemplateInstance
On 1 December 2026 Red Hat disclosed CVE-2026-140094 in openshift-apiserver, with a preliminary CVSS score of 9.9. A logged-in user who can create template instances, which Red Hat says includes the default self-provisioner role, can put arbitrary groups such as the cluster administrators into the request and take over the whole cluster. Red Hat has not yet listed affected versions or a fix, and no exploitation has been reported.
Key points
- What: a missing authorization check in openshift-apiserver. When a TemplateInstance is created, only the requester's username is validated, not their groups.
- Impact: a user who can create templates (per Red Hat, even the default self-provisioner) forges a group such as system:cluster-admins, and openshift-controller-manager trusts it.
- Severity: CVSS 3.1 9.9 from Red Hat (preliminary); NVD has not analysed it yet.
- Status on 1 Dec 2026: no affected versions, fix or mitigation published, and no reported exploitation.
Vulnerabilities: CVE-2026-140094
What happened
Red Hat has disclosed CVE-2026-140094 in openshift-apiserver, the Red Hat OpenShift API server that handles, among other things, templates (template.openshift.io). The record appeared in NVD at 02:18 UTC on 1 December 2026 with a CVSS 3.1 score of 9.9 (vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H). Red Hat describes the score as preliminary, and NVD has not analysed the flaw yet.
We are covering it before a fix exists because the technical principle is public and, according to Red Hat, any logged-in user with basic permissions can carry out the attack.
Technical details
Templates in OpenShift are predefined sets of objects, such as an application with its database, that a user can deploy with a single command. When a template is instantiated through the API, a TemplateInstance object is created and the controller manager then creates the actual objects on behalf of whoever requested the instance. That is why the requester details must be accurate: the controller uses them to decide what it is allowed to create.
When a TemplateInstance object is created, details about the requester are stored in its spec (spec.requester). According to the Bugzilla entry, the API server validates only the username field and does not authorize the groups, uid or extra fields.
A user who is allowed to create template instances can therefore list groups they do not belong to. Red Hat gives system:cluster-admins as the example. openshift-controller-manager, which processes the template and creates the resulting objects, trusts those groups and acts with their permissions. The result can be full control over the cluster across every namespace. Weakness type: CWE-842 (placement of user into incorrect group).
The "Scope: Changed" value in the CVSS vector reflects that the attack starts with rights in a single project but reaches the whole cluster, including other teams' secrets, service accounts and nodes. Red Hat has not published an exploit or a detailed attack procedure, and we will not describe one.
Who is affected
- Red Hat OpenShift with the openshift-apiserver component. As of 1 December 2026, Red Hat had not listed exact versions or products.
- The attacker must be authenticated and able to create TemplateInstances. Red Hat says the default self-provisioner role is enough, meaning an ordinary user who can create their own projects.
- Shared clusters with many users, and teams where developers create their own projects, are most exposed.
In a default OpenShift installation the self-provisioner role is bound to the system:authenticated:oauth group, meaning everyone who logs in through OAuth. You can check whether that applies to your cluster with oc describe clusterrolebinding.rbac self-provisioners. If you disabled project self-provisioning earlier, an attacker needs an existing project in which they are allowed to instantiate templates.
How to tell if you were compromised
Red Hat has not published indicators of compromise. As a defensive measure we suggest that you:
- list existing template instances (
oc get templateinstances -A -o yaml) and look for privileged groups inspec.requester.groupsthat do not match the real membership of the user inspec.requester.username, - review API server audit logs for
createrequests ontemplateinstancesfrom ordinary users, - check for new or modified
ClusterRoleBindingobjects and for objects in system namespaces that were created through templates.
You can compare a user's real group membership with the output of oc get groups. If you find an instance with a forged group, treat the cluster as compromised: remove unauthorized role bindings, rotate secrets and service account tokens the attacker could have reached, and review which objects the instance created.
What to do
- Find out who can instantiate templates, for example with
oc adm policy who-can create templateinstances.template.openshift.io -A, and remove the permission wherever nobody needs it. - Consider temporarily disabling project self-provisioning (the self-provisioner role) as described in the OpenShift documentation. It shrinks the pool of potential attackers, though Red Hat does not list it as a mitigation.
- Review template instances and audit logs as described in the previous section.
- Watch Red Hat's CVE page and update the cluster once errata (RHSA) are released. After updating, review template instances created before the fix again: the fix stops new forgeries but does not remove objects and role bindings that already exist.
Timeline
- 30 Nov 2026, 20:58 UTC: Red Hat opens Bugzilla entry 2587603.
- 1 Dec 2026, 02:18 UTC: NVD publishes the CVE from Red Hat (status "Awaiting Analysis").
- 1 Dec 2026: no affected versions, fix or mitigation published; no reported exploitation.
FAQ
Does this affect OKD as well as commercial OpenShift?
Red Hat only names the openshift-apiserver component and has not yet listed specific products or versions. OKD uses the same API server, so assume it may be affected until the project or Red Hat says otherwise.
Does disabling project self-provisioning help?
It narrows the group of people who can create a project and instantiate templates in it. Users who already have the right to create TemplateInstances in an existing project are still in a position to try. Red Hat does not list this step as a mitigation for CVE-2026-140094.
When will a fix ship?
As of 1 December 2026 Red Hat lists no date or errata (RHSA), and the Bugzilla entry is still NEW. Watch the CVE page on access.redhat.com.
Sources
Spotted a mistake? Let us know and we will correct it openly.