CVE-2026-107934: Freeipa: idm: freeipa: krbprincipalmatch uniqueness bypass via whitespace-padded kerberos principal names (incomplete fix of cve-2025-4404 / cve-2025-7493)
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.
Affected Software
Event History
Frequently Asked Questions
Who can realistically exploit this issue?
An attacker needs control of a service principal, such as an enrolled host. The described impact is privilege escalation from that level of access to domain administrator access.
What makes the uniqueness check bypass possible?
A principal name that differs from a protected principal only by leading, trailing, or repeated whitespace can pass uniqueness enforcement. Other identity-handling components treat that whitespace as insignificant and resolve the padded name as the protected principal.
What access can an attacker obtain after successful exploitation?
The attacker can obtain a Kerberos ticket for the impersonated privileged identity. This can lead to full administrative access over the realm.
What principal-name patterns should be investigated for possible abuse?
Investigate krbCanonicalName, krbPrincipalName, and ipaKrbPrincipalAlias values that differ from protected names only through leading, trailing, or duplicated whitespace. A padded variant of a privileged name such as admin@REALM is specifically described as a concern.