Bug 2539966 (CVE-2026-107934) - CVE-2026-107934 freeIPA: idm: FreeIPA: krbPrincipalMatch uniqueness bypass via whitespace-padded Kerberos principal names (incomplete fix of CVE-2025-4404 / CVE-2025-7493)
Summary: CVE-2026-107934 freeIPA: idm: FreeIPA: krbPrincipalMatch uniqueness bypass vi...
Keywords:
Status: NEW
Alias: CVE-2026-107934
Deadline: 2026-11-30
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-24 06:41 UTC by OSIDB Bzimport
Modified: 2026-12-01 10:25 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:105881 0 None None None 2026-12-01 10:25:20 UTC
Red Hat Product Errata RHSA-2026:105882 0 None None None 2026-12-01 09:40:35 UTC
Red Hat Product Errata RHSA-2026:105883 0 None None None 2026-12-01 09:46:24 UTC
Red Hat Product Errata RHSA-2026:105884 0 None None None 2026-12-01 09:29:22 UTC

Description OSIDB Bzimport 2026-09-24 06:41:17 UTC
The krbPrincipalMatch matching-rule plugin (daemons/ipa-slapi-plugins/ipa-krbprinc-mr/ipa_krbprinc_mr.c, normalize_krbprinc()) does not perform RFC 4517 insignificant-space normalization. It normalizes candidate principal names purely via krb5_parse_name/krb5_unparse_name (+ optional tolower), under which whitespace is significant. This lets an attacker who controls a service principal (e.g. an enrolled host managing a principal via managedby, the same prerequisite as CVE-2025-4404/CVE-2025-7493) set krbCanonicalName, krbPrincipalName, or ipaKrbPrincipalAlias to a whitespace-padded variant of a protected name (e.g. "admin@REALM " with a trailing space). The 389-ds attribute-uniqueness enforcement introduced by the CVE-2025-4404/CVE-2025-7493 fixes sees a different name and allows the write, while the KDC's TGS lookup filter (caseIgnoreIA5Match), the native caseExactIA5Match on the attribute, and the 389-ds SASL-to-DN identity map all treat the whitespace as insignificant (RFC 4517) and resolve the padded name back to the real privileged principal, re-opening the host-to-domain-admin escalation. This is a distinct normalization gap from CVE-2026-13097 (missing @REALM suffix, same underlying mechanism). Independently verified: current normalize_krbprinc() on freeipa/freeipa master (confirmed live, post CVE-2026-13097 fix) still contains no whitespace trimming/collapsing logic; live testing against 389-ds 3.1.3 and FreeIPA 4.13.3-1.el10 confirmed the shipped krbCanonicalName:krbPrincipalMatch: uniqueness config rejects an exact duplicate of admin@REALM but accepts the trailing-space variant, and that the padded entry resolves to uid=admin under the KDC's caseIgnoreIA5Match. Planting Kerberos keys on the padded entry and requesting an actual admin TGT was deliberately not performed (same canonicalization mechanism already established by CVE-2025-4404/CVE-2025-7493).

Comment 1 errata-xmlrpc 2026-12-01 09:29:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.2 Extended Update Support

Via RHSA-2026:105884 https://access.redhat.com/errata/RHSA-2026:105884

Comment 2 errata-xmlrpc 2026-12-01 09:40:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:105882 https://access.redhat.com/errata/RHSA-2026:105882

Comment 3 errata-xmlrpc 2026-12-01 09:46:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:105883 https://access.redhat.com/errata/RHSA-2026:105883

Comment 4 errata-xmlrpc 2026-12-01 10:25:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:105881 https://access.redhat.com/errata/RHSA-2026:105881


Note You need to log in before you can comment on or make changes to this bug.