Skip to content
Blog

Red Hat · OpenShift · FreeIPA

OpenShift and FreeIPA: Two Privilege Escalations to Full Admin (CVE-2026-140094, CVE-2026-107934)

Red Hat discloses two critical flaws: a forged cluster-admin group via TemplateInstance in OpenShift (9.9) and an impersonated admin principal in FreeIPA (9.1).

5 min readCVE-2026-140094CVE-2026-107934

Between November 30 and December 1, 2026, Red Hat disclosed two critical vulnerabilities with the same end state: start from ordinary access, end up administrator of the entire trust domain.

  • CVE-2026-140094 (9.9) in openshift-apiserver: a user allowed to create templates can claim membership in system:cluster-admins.
  • CVE-2026-107934 (9.1) in FreeIPA: an enrolled host can create a Kerberos principal that differs from admin@REALM only by whitespace, and get a ticket in its name.

Neither is a memory corruption bug or an injection. Both come down to one component checking an identity one way while another component reads it differently.


The two vulnerabilities

FieldCVE-2026-140094CVE-2026-107934
ProductOpenShift (openshift-apiserver)FreeIPA
CVSS 3.1 (Red Hat)9.9 (CRITICAL)9.1 (CRITICAL)
VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
WeaknessCWE-842 (placement of user into incorrect group)CWE-1220 (insufficient granularity of access control)
Starting pointTemplate creation rights (e.g. self-provisioner role)Control of a service principal (e.g. an enrolled host)
NVD published2026-12-012026-11-30
NVD statusAwaiting AnalysisAwaiting Analysis

Both scores come from Red Hat as the CNA. NVD hasn't analyzed either CVE yet and publishes no version configuration: no affected range, no fixed release. To find out whether you're exposed, go to Red Hat's page for each CVE and the matching Bugzilla tickets, 2587603 (OpenShift) and 2539966 (FreeIPA).


CVE-2026-140094: admin groups declared by the requester

From the NVD description:

Incomplete authorization checks in the TemplateInstance instantiation mechanism allow requests to specify arbitrary group memberships without proper validation.

A TemplateInstance object is how a template gets instantiated in OpenShift: a controller then creates the resources the template describes, on behalf of whoever asked. To do that, the request carries the requester's identity, groups included.

Per the description, the API doesn't check that those groups actually belong to the requester. An authenticated attacker can submit a TemplateInstance that claims membership in system:cluster-admins, and openshift-controller-manager trusts it and creates the resources with those rights.

What makes this serious is the entry bar. The self-provisioner role is granted by default to authenticated users on many clusters so they can spin up their own projects. The vector says as much: PR:L (any regular account will do) and S:C (the impact escapes the attacker's project and reaches the whole cluster).

Red Hat says the attacker can gain full administrative control of the cluster: every namespace's secrets, privileged pods, and from there the nodes themselves.


CVE-2026-107934: admin and admin are different names, except to the KDC

From the NVD description:

The krbPrincipalMatch matching rule used to enforce Kerberos principal name uniqueness does not perform RFC 4517 insignificant-space normalization.

FreeIPA enforces unique Kerberos principal names through an LDAP matching rule, krbPrincipalMatch. That rule compares names byte for byte, without the whitespace normalization RFC 4517 calls for.

Everything else does normalize:

  • the KDC, which issues Kerberos tickets;
  • native LDAP attribute comparison;
  • the SASL-to-DN mapping that ties an authenticated identity to a directory entry.

So an attacker who controls a service principal (an enrolled host is enough) can write admin@REALM padded with leading, trailing or doubled spaces into krbCanonicalName, krbPrincipalName or ipaKrbPrincipalAlias. The uniqueness check lets it through because the string is different. The KDC resolves it to the real admin principal and hands out a ticket for that identity.

Red Hat calls it a "host to domain admin" escalation. It scores a bit lower than the OpenShift bug (PR:H) because the attacker already needs a machine identity. But that's exactly what anyone gets by compromising a single enrolled server: the host keytab is all it takes. The flaw turns one compromised machine into a compromised Kerberos realm.


Who's affected

NVD lists no versions. In practice:

  • OpenShift: any cluster where non-admin users can create TemplateInstance objects, especially if self-provisioner is still bound to system:authenticated:oauth. See Red Hat's page for CVE-2026-140094 for versions and errata.
  • FreeIPA / Red Hat Identity Management: any IPA domain with enrolled hosts. The larger the enrolled fleet, the more starting points an attacker has. See Red Hat's page for CVE-2026-107934.

Detection

OpenShift

  • TemplateInstance objects created by non-admin users, especially ones declaring system:* groups in their spec
  • API audit logs: ClusterRoleBinding, secret or privileged pod creation attributed to the template controller right after a TemplateInstance
oc get templateinstances --all-namespaces
oc get clusterrolebindings -o wide

FreeIPA

  • Principals, aliases or canonical names with leading, trailing or doubled spaces
  • Kerberos attribute changes made by host accounts rather than administrators
  • Tickets issued for admin or other privileged accounts from unusual machines (KDC logs)
ldapsearch -Y GSSAPI -b "cn=accounts,dc=example,dc=com" "(krbPrincipalName=* *)" krbPrincipalName krbCanonicalName ipaKrbPrincipalAlias

Adjust the search base to your domain. The filter looks for values containing a space, which a legitimate principal name shouldn't have.


Mitigation

1. Apply Red Hat's errata

For both products, the fixed version is on Red Hat's page for each CVE. NVD doesn't publish one.

2. OpenShift: limit who can instantiate templates

Until you patch, removing self-provisioner from authenticated users shrinks the attack surface considerably: only explicitly authorized accounts can create projects and template instances. Check with the teams that self-provision before you flip it.

3. FreeIPA: clean up and watch principals

Look for principals containing spaces and remove any without a legitimate origin. If you find one, treat the domain as potentially compromised: rotate privileged account credentials and the keytabs of sensitive services.

4. Treat enrolled hosts as sensitive identities

The FreeIPA flaw starts from a host. A compromised server should be removed from the domain and its keytab revoked right away.


Why continuous monitoring of identity and platform components matters

A Kubernetes control plane or a Kerberos directory rarely shows up in an asset inventory. They're run by platform or systems teams, far from whoever tracks CVEs. Yet they're the two places where one flaw hands over the keys to everything else.

This isn't the first time OpenShift's trust model has been at issue: in August, three 9.9 CVEs hit Submariner, Lighthouse and ACM.

With cveo.tech, add OpenShift, FreeIPA and the rest of your infrastructure building blocks to your inventory and get an alert as soon as a critical CVE affects them.

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.

Every Monday

The week's critical CVEs, in your inbox

One email a week: the CVSS ≥ 9 vulnerabilities published in the last seven days, plus our latest analyses. Nothing else.

Double opt-in by email. Unsubscribe in one click, any time.