FreeIPA 4.13.7
==============

.. raw:: mediawiki

   {{ReleaseDate|2026-12-01}}

The FreeIPA team would like to announce FreeIPA 4.13.7 release!

It can be downloaded from http://www.freeipa.org/page/Downloads. Builds
for Fedora distributions will be available from the official repository
soon.

.. _highlights_in_4.13.7:

Highlights in 4.13.7
--------------------

Security issues
~~~~~~~~~~~~~~~

**CVE-2026-108122** ipa: freeipa: predictable all-zero NT hash accepted
for Samba pass-the-hash authentication when NTHash generation is
disabled (2548605)

When NT hash generation is disabled for an Identity Management (IdM)
server (for example, by removing the AllowNThash option via
``ipa config-mod``), the next password change for an affected account
causes the ``ipaNTHash`` LDAP attribute to be written as sixteen zero
bytes instead of being left unset. FreeIPA’s Samba password database
backend (``ipa_sam.c``) validates only the length of this stored value
before accepting it as the account’s live NT password hash, and does not
detect or reject the all-zero value. Because Samba supports NTLM
pass-the-hash authentication, a remote, unauthenticated attacker who
knows the name of an affected account (including the built-in ``admin``
account) can authenticate as that account using the publicly-known
all-zero hash, without needing a valid password. On servers configured
with Active Directory (AD) trust support, this allows an attacker to
impersonate privileged accounts and to query, delete, or create AD trust
relationships, resulting in authentication bypass, denial of service,
and potential compromise of trust integrity.

**CVE-2026-115423** ipa: freeipa: unrestricted secret-attribute SEARCH
grant permits authenticated value reconstruction (2558787)

An ACI intended for password and Kerberos-key presence indicators grants
ordinary authenticated users unrestricted SEARCH rights on userPassword
and krbPrincipalKey. Explicit ordering predicates can expose stored
values without VLV. This grant does not independently disclose krbMKey
or establish administrator impersonation.

**CVE-2026-109159** ipa: freeipa: targattrfilters restriction on service
creation does not prevent unconstrained-delegation principals from
working regardless of directory location (2549571)

When a directory principal is granted the right to add new entries
anywhere in the LDAP tree, it can create a service account configured
for unconstrained Kerberos delegation. The krbPrincipalName associated
with such a service remains active for authentication regardless of
where in the directory the entry was created, which limits the
effectiveness of targattrfilters-based restrictions intended to confine
this capability to specific directory locations. An attacker able to
intercept another user’s authentication to the resulting rogue service
can harvest that user’s Kerberos ticket-granting ticket (TGT),
potentially leading to full impersonation of that user, including
privileged accounts, within the FreeIPA domain.

**CVE-2026-90958** ipa: freeipa: SMB/NTLM authentication bypasses
account lockout (krbLoginFailedCount not incremented) (2549570)

When FreeIPA’s AD-trust/SMB support is enabled, Samba’s SMB/NTLM
authentication path does not interact with the account-lockout
enforcement that governs Kerberos authentication. Failed SMB/NTLM login
attempts do not increment the user’s failed-login counter, so the
configured account-lockout policy does not apply to that authentication
path. This allows unlimited online password-guessing attacks against
SMB-exposed accounts, including administrative accounts, without
triggering lockout.

**CVE-2026-107934** ipa: freeipa: krbPrincipalMatch uniqueness bypass
via whitespace-padded Kerberos principal names (incomplete fix of
CVE-2025-4404 / CVE-2025-7493) (2539966)

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).

**CVE-2026-102498** ipa: freeipa: anonymous VLV proxy ACI and delegated
cn=config Add permission allow unauthenticated LDAP client to assume the
admin identity (2541356)

The VLV feature entry
(oid=2.16.840.1.113730.3.4.9,cn=features,cn=config) ships an ACI
granting the ``proxy`` right to ``ldap:///anyone``
(install/updates/80-schema_compat.update, unchanged since 2010).
389-ds-base’s ACL engine ignores targetattr scoping for the PROXY right
and checks proxy authorization against the original bind identity rather
than the proxied target identity, so an anonymous LDAP client can send a
critical RFC 4370 v2 proxied-authorization control naming uid=admin and
have operations against the ACI’s subtree authorized as admin. FreeIPA’s
delegated ``permission:Add Configuration Sub-Entries`` ACI (held by
Replication Administrators, of which admin is a default member) then
lets the assumed-admin identity add an arbitrary entry as a child of the
VLV feature entry, still inside the first ACI’s scope. 389-ds-base’s
startup plugin loader scans the entire cn=config subtree while its
check_plugin_path safety guard only covers cn=plugins,cn=config, so the
planted entry loads as native code on the next ordinary Directory Server
restart, escalating this to full unauthenticated FreeIPA administrator
compromise.

.. _bug_fixes:

Bug fixes
~~~~~~~~~

FreeIPA 4.13.7 is a stabilization release for the features delivered as
a part of 4.13 version series.

There are several security fixes since FreeIPA 4.13.6 release. Details of
the bug-fixes can be seen in the list of resolved tickets below.

Upgrading
---------

Upgrade instructions are available on
`Upgrade <https://www.freeipa.org/page/Upgrade>`__ page.

Feedback
--------

Please provide comments, bugs and other feedback via the freeipa-users
mailing list
(https://lists.fedoraproject.org/archives/list/freeipa-users@lists.fedorahosted.org/)
or #freeipa channel on libera.chat.

.. _resolved_tickets:

Resolved tickets
----------------

.. _detailed_changelog_since_4.13.6:

Detailed changelog since 4.13.6
-------------------------------

.. _alexander_bokovoy_21:

Alexander Bokovoy (21)
~~~~~~~~~~~~~~~~~~~~~~

- ipatests: VLV request control is limited to authenticated users
  `commit <https://pagure.io/freeipa/c/41e85c71f1581fec745eadc6e9d3ec4e6f787b3c>`__
- ipa-sam: refuse NTLM logons for disabled accounts
  `commit <https://pagure.io/freeipa/c/4b8b6abc9744e3641ea5e541069525c7823a5ceb>`__
- aci: switch password/kerberos principal check to LDAP COMPARE
  `commit <https://pagure.io/freeipa/c/25581b90ec600522022d4cc97e4a35bf3e137998>`__
- ipatests: expect the delegation flags to be refused when adding an
  object
  `commit <https://pagure.io/freeipa/c/fa92bdb1f32f63457bd0c772472305382642ddaa>`__
- ipatests: test the principal-creation denies on a live master
  `commit <https://pagure.io/freeipa/c/c0e8c29acf1c0ae397b67e80b6f4a883df6238ed>`__
- ipatests: test the shipped update file without a directory server
  `commit <https://pagure.io/freeipa/c/6a5958d06d603e4f4054c764630617355069678c>`__
- doc: describe the delegation flags as available on modification only
  `commit <https://pagure.io/freeipa/c/35b6c2bea497aa7c382bf626befeab4c5a24cc56>`__
- install: register the new 21-deny-krb-principal-creation.update script
  `commit <https://pagure.io/freeipa/c/0d43dba86d361c6226a070128e145c2b338711fd>`__
- install: carry the DNS-container principal deny in dns.ldif
  `commit <https://pagure.io/freeipa/c/d0e6dba046d6203d48b6263aaebc7472b0c8121a>`__
- aci: restrict Kerberos principal creation and its delegation flags
  `commit <https://pagure.io/freeipa/c/ba943a87c1b548e25ec2891f0fc30c0514a06ae0>`__
- ipatests: test that failed SMB logons lock the account out
  `commit <https://pagure.io/freeipa/c/94b3d041b75f73bb140a29e4576d4709d3f3e63a>`__
- aci: let the Samba system principals maintain the account lockout
  `commit <https://pagure.io/freeipa/c/06942173a5a9f254f10538ea94c2c4299b834fc5>`__
- ipa-sam: count failed SMB logons towards the account lockout
  `commit <https://pagure.io/freeipa/c/8deb48e6675f082e4bdae22095c1b7a79e2e2c05>`__
- ipatests: add a regression test for anonymous proxied authorization
  `commit <https://pagure.io/freeipa/c/182949349e7c4df6d26a4264cff55e065e92d2dc>`__
- install: register the new 21-deny-anonymous-proxy ACI update script
  `commit <https://pagure.io/freeipa/c/466a6edd00496ccb9c09c56cad40f65139eab09e>`__
- aci: deny proxied authorization for anonymous binds under cn=config
  `commit <https://pagure.io/freeipa/c/0f84104d72e80e69dbd86f203b710722266986a5>`__
- aci: stop granting the proxy right on the VLV feature entry
  `commit <https://pagure.io/freeipa/c/aeed4b4ef546951d70756d66afe5f4281ef0ec43>`__
- ipatests: reject whitespace-padded krbcanonicalname claims
  `commit <https://pagure.io/freeipa/c/3bebd63284f52c5c127f5e8fa552c6eb1267f687>`__
- ipatests: cover whitespace-padded principals in krbPrincipalMatch
  tests
  `commit <https://pagure.io/freeipa/c/31d1c032baebf0fb0f74bf9d4702a9f8b59b3a4d>`__
- ipa-krbprinc-mr: ignore insignificant whitespace in krbPrincipalMatch
  `commit <https://pagure.io/freeipa/c/9f634bd347b657be2d76a1bf3ab844f7b39d5e4d>`__
- ipa-kdb: link ipa_kdb_tests via samba's pkg-config library path
  `commit <https://pagure.io/freeipa/c/e3542fb1030d9134f617180a1ec2dfe20ffe4824>`__

.. _antonio_torres_1:

Antonio Torres (1)
~~~~~~~~~~~~~~~~~~

- Become IPA 4.13.7
  `commit <https://pagure.io/freeipa/c/f582b4c20c434718effcc8863dc3ee4fc4b9f150>`__

.. _françois_cami_1:

François Cami (1)
~~~~~~~~~~~~~~~~~

- ipa-sam: Reject zeroed NT hash to prevent authentication bypass
  `commit <https://pagure.io/freeipa/c/0332ed7ac2e927162d98b60e77041f3f162403cc>`__

.. _florence_blanc_renaud_1:

Florence Blanc-Renaud (1)
~~~~~~~~~~~~~~~~~~~~~~~~~

- ipatests: add a new test for CVE-2026-108122
  `commit <https://pagure.io/freeipa/c/1aecacc3085bd792325c2cbbc24440dcea848821>`__

.. _rafael_guterres_jeffman_1:

Rafael Guterres Jeffman (1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Back to git snapshots
  `commit <https://pagure.io/freeipa/c/1b2cb21b177254b9cc1a72f8cf2010ce35d91b76>`__
