CVE-2026-107934

Description

A privilege escalation from host to domain admin vulnerability was found in the FreeIPA project. The krbPrincipalMatch matching rule used to enforce Kerberos principal name uniqueness does not perform RFC 4517 insignificant-space normalization, allowing a user who controls a service principal (such as an enrolled host) to create a principal whose krbCanonicalName, krbPrincipalName, or ipaKrbPrincipalAlias differs from a protected name (e.g. admin@REALM) only by leading, trailing, or duplicated whitespace. Uniqueness enforcement treats this as a different name and permits the write, while the KDC, the native LDAP attribute comparison, and the SASL-to-DN identity map all treat the whitespace as insignificant and resolve the padded name to the real privileged principal. This allows an attacker to obtain a Kerberos ticket for the impersonated identity, leading to full administrative access over the realm.

Statement

Successful exploitation requires the attacker to already control a service principal capable of modifying Kerberos principal attributes over LDAP, rather than being reachable by an unauthenticated remote attacker.

The krbPrincipalMatch matching rule's whitespace-normalization gap lets such an attacker impersonate a protected principal such as admin@REALM and obtain full administrative control of the realm. Exploitable under the default configuration.

Mitigation

No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.

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.1N/A9.1
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredHighN/AHigh
User InteractionNoneN/ANone
ScopeChangedN/AChanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

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

cve.org: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability,Access Control

Technical Impact: Modify Memory; Read Memory; Execute Unauthorized Code or Commands; Gain Privileges or Assume Identity; Bypass Protection Mechanism; Other

A common weakness that can exist in such protection schemes is that access controls or policies are not granular enough, which renders the control policy too broad, because it allows accesses from unauthorized agents to security-sensitive assets. This condition allows agents beyond trusted agents to access assets and could lead to a loss of functionality or the ability to set up the device securely. This further results in security risks from leaked, sensitive, key material to modification of device configuration.

Frequently Asked Questions

Want to get errata notifications? Sign up here.