FreeIPA 4.13.6
==============

**Release date**: 2026-11-30

The FreeIPA team would like to announce FreeIPA 4.13.6 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.6
--------------------

Security Issues
~~~~~~~~~~~~~~~

**CVE-2026-127038** ipa: FreeIPA: Authenticated DoS via unbounded
request-body read in rpcserver.py RPC executor

The read_input(environ, max_size=None) helper in ipaserver/rpcserver.py
reads the full HTTP request body into memory based on the
client-supplied Content-Length header, unless the caller passes an
explicit max_size limit. Two call sites that handle JSON/XML-RPC
requests after Kerberos or session authentication has already succeeded
invoke read_input() without a size limit: WSGIExecutioner.wsgi_execute()
(the main POST request-unmarshal path) and extract_query(), called via
WSGIExecutioner.simple_unmarshal() (the GET/non-matching-content-type
fallback path). These are reached by the jsonserver_kerb,
jsonserver_session, xmlserver, and xmlserver_session RPC executors. Any
already-authenticated IdM user, without any additional privilege, can
send a single oversized request to these endpoints, forcing the handling
WSGI worker to allocate the entire declared request body in memory.
Repeated requests can exhaust the shared worker pool and degrade or deny
service to the IPA web UI and API. This is the same underlying defect
class as CVE-2026-73197, CVE-2026-73198, and CVE-2026-86593, which
capped read_input() at other call sites in the same file; these two call
sites were not covered by those fixes.

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

Enhancements
~~~~~~~~~~~~

- #10102:

  Stores a short-lived record for every issued challenge in
  /run/ipa/otpd-passkey. The record contains the principal and challenge
  and is referenced by a random state token returned to the client.

  Before starting passkey_child, ipa-otpd checks that:

  - the state token exists and has not expired;
  - the principal matches the original request;
  - the challenge matches the one issued by the server.

  A valid record is removed atomically before assertion verification, so
  only one request can use it. The directory and records are root-only.
  Expired records are removed by the existing systemd-tmpfiles cleanup.

- #10111:

  Password expiration requests that exceed the password policy maximum
  lifetime are now rejected with a constraint violation error instead of
  being silently capped, both when creating users and when modifying
  existing ones. For non-expiring service accounts use system accounts
  feature instead.

  An explicit password expiration requested together with a password
  change is now honored verbatim within the password policy limits
  instead of being silently replaced with the policy-derived value.

  Forcing password expiration when creating users applies default
  password policy limits.

  Forcing password expiration for existing users applies group password
  policy associated with this account.

Bug Fixes
---------

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

There are more than 15 bug-fixes since FreeIPA 4.13.5 release. Details
of the bug-fixes can be seen in the list of resolved tickets below.

Upgrading
---------

Upgrade instructions are available on the
`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
----------------

- `#7715 <https://codeberg.org/freeipa/freeipa/issues/7715>`__
- `#9627 <https://codeberg.org/freeipa/freeipa/issues/9627>`__
- `#9968 <https://codeberg.org/freeipa/freeipa/issues/9968>`__
- `#10020 <https://codeberg.org/freeipa/freeipa/issues/10020>`__
- `#10102 <https://codeberg.org/freeipa/freeipa/issues/10102>`__
- `#10111 <https://codeberg.org/freeipa/freeipa/issues/10111>`__
- `#10116 <https://codeberg.org/freeipa/freeipa/issues/10116>`__
- `#10117 <https://codeberg.org/freeipa/freeipa/issues/10117>`__
- `#10120 <https://codeberg.org/freeipa/freeipa/issues/10120>`__
- `#10121 <https://codeberg.org/freeipa/freeipa/issues/10121>`__
- `#10123 <https://codeberg.org/freeipa/freeipa/issues/10123>`__
- `#10131 <https://codeberg.org/freeipa/freeipa/issues/10131>`__
- `#10134 <https://codeberg.org/freeipa/freeipa/issues/10134>`__
- `#10135 <https://codeberg.org/freeipa/freeipa/issues/10135>`__
- `#10138 <https://codeberg.org/freeipa/freeipa/issues/10138>`__
- `#10139 <https://codeberg.org/freeipa/freeipa/issues/10139>`__
- `#10141 <https://codeberg.org/freeipa/freeipa/issues/10141>`__
- `#10142 <https://codeberg.org/freeipa/freeipa/issues/10142>`__

Detailed Changelog since 4.13.5
-------------------------------

Andrew Rukin (3)
~~~~~~~~~~~~~~~~

- ipa-otpd: simplify authentication state cleanup
  `commit <https://codeberg.org/freeipa/freeipa/commit/e01efc65eee0ae52bdb69efa19aeec7bee847e08>`__
  `#10102 <https://codeberg.org/freeipa/freeipa/issues/10102>`__
- ipa-otpd: generalize one-time authentication state
  `commit <https://codeberg.org/freeipa/freeipa/commit/bdce557a643070a5b75d4ef25271bd805c0eff93>`__
  `#10102 <https://codeberg.org/freeipa/freeipa/issues/10102>`__
- ipa-otpd: bind passkey replies to issued challenges
  `commit <https://codeberg.org/freeipa/freeipa/commit/952912e611eb5c97e0b3d866e543f94b5a03413a>`__
  `#10102 <https://codeberg.org/freeipa/freeipa/issues/10102>`__

Alexander Bokovoy (4)
~~~~~~~~~~~~~~~~~~~~~

- ipa-pwd-extop: reject out-of-policy password expiration requests
  `commit <https://codeberg.org/freeipa/freeipa/commit/85c20482933557feee4c446f29ccdd076999949b>`__
  `#10111 <https://codeberg.org/freeipa/freeipa/issues/10111>`__
- ipatests: test password expiration cap on modify without password
  change
  `commit <https://codeberg.org/freeipa/freeipa/commit/20a8e19b6dbc418011045142c61be3d4c3398784>`__
  `#10111 <https://codeberg.org/freeipa/freeipa/issues/10111>`__
- util: parse all GeneralizedTime forms in ipapwd_gentime_to_time_t
  `commit <https://codeberg.org/freeipa/freeipa/commit/8473766bfab39b93eef3aa21eeeed895beb5a206>`__
- ipa-pwd-extop: cap password expiration on modify without password
  change
  `commit <https://codeberg.org/freeipa/freeipa/commit/b7cb8056ab4c27c1df29964201b065880414f2b7>`__
  `#10111 <https://codeberg.org/freeipa/freeipa/issues/10111>`__

Anuja More (1)
~~~~~~~~~~~~~~

- plugins: reject protected rename via setattr
  `commit <https://codeberg.org/freeipa/freeipa/commit/d2bfa7d2db9cc30004f91c41a7dc2c4c70bc6fdb>`__
  `#10116 <https://codeberg.org/freeipa/freeipa/issues/10116>`__

Antonio Torres (4)
~~~~~~~~~~~~~~~~~~

- selinux: update policy to account for BIND changes
  `commit <https://codeberg.org/freeipa/freeipa/commit/b1bb32a56a17f7cd800de25ff54d95adc04ae2c2>`__
- dns: use BIND systemd service for generating rndc key
  `commit <https://codeberg.org/freeipa/freeipa/commit/a554063e0f6482f198867473e78532ae446d9267>`__
- ipatests: properly parse delv version in dnssec tests
  `commit <https://codeberg.org/freeipa/freeipa/commit/47dd14e69cb7aa93a1c5c2b4ba171bbc8be904a8>`__
- dns: remove delegation-only from BIND logging options
  `commit <https://codeberg.org/freeipa/freeipa/commit/ed3332f9a1502fe5490e054b71a4c47cfd306a95>`__

Akshay Sakure (2)
~~~~~~~~~~~~~~~~~

- Man: Correct the typos and grammer in ipa.1 man
  `commit <https://codeberg.org/freeipa/freeipa/commit/b642522dc3974fd6c18f0cfa914cfd02e3b88316>`__
  `#10142 <https://codeberg.org/freeipa/freeipa/issues/10142>`__
- Man: Correct the typos in ipa-client-samba man
  `commit <https://codeberg.org/freeipa/freeipa/commit/6400bda855ae8b27d9ae58a2fca688851d36aca9>`__
  `#10134 <https://codeberg.org/freeipa/freeipa/issues/10134>`__

David Hanina (7)
~~~~~~~~~~~~~~~~

- ipa automember-add-condition: do not drop siblings on duplicate
  `commit <https://codeberg.org/freeipa/freeipa/commit/526598e6ac623a38823af470207f8ca1dd314c91>`__
  `#10121 <https://codeberg.org/freeipa/freeipa/issues/10121>`__
- rpcserver: remove decoding from nicify_query
  `commit <https://codeberg.org/freeipa/freeipa/commit/4cfe5bf5850fc7f8ca3eae26b4268654acc835ec>`__
  `#7715 <https://codeberg.org/freeipa/freeipa/issues/7715>`__
- rpcserver: handle Content-Type parameters in extract_query
  `commit <https://codeberg.org/freeipa/freeipa/commit/f1b1d0d7983731a4af9a297b41391359a8303ef1>`__
- rpcserver: enforce request body size limit before authentication
  `commit <https://codeberg.org/freeipa/freeipa/commit/1e0595a37f0158e4a14bccd1ce923e83df15af97>`__
- Normalize request_body_too_large name
  `commit <https://codeberg.org/freeipa/freeipa/commit/e949756a6f349e988f5cbde21a7621585240ac5d>`__
- permission: apply managed/bindtype checks to setattr
  `commit <https://codeberg.org/freeipa/freeipa/commit/258cb1d39c5193ca362c7bacba7fce2622a6dd1c>`__
  `#10117 <https://codeberg.org/freeipa/freeipa/issues/10117>`__
- ipa-kdb: fix memory cleanup in ipadb_ldap_attr_to_tl_data
  `commit <https://codeberg.org/freeipa/freeipa/commit/24111a845ac78cad57bdcc74d3c17a3b6e172931>`__
  `#10020 <https://codeberg.org/freeipa/freeipa/issues/10020>`__

Erik Belko (1)
~~~~~~~~~~~~~~

- ipatests: Add ipa-getcert stop-tracking, resubmit, list, and bugzilla
  tests
  `commit <https://codeberg.org/freeipa/freeipa/commit/65356de647f52f77ea356e6a297955808fe1c37c>`__
  `#9968 <https://codeberg.org/freeipa/freeipa/issues/9968>`__

Florence Blanc-Renaud (4)
~~~~~~~~~~~~~~~~~~~~~~~~~

- Fix upgrade of encryption types
  `commit <https://codeberg.org/freeipa/freeipa/commit/b5698b0502e300ff8d95ae9f42b71ae90ab03816>`__
- ipa upgrade: fix krbsupportedencsalttypes with wrong format
  `commit <https://codeberg.org/freeipa/freeipa/commit/04bb86b96db1ebfcca2a9755f8fd438e0615b9e3>`__
- ipatests: fix test_upgrade templating mechanism
  `commit <https://codeberg.org/freeipa/freeipa/commit/44b0f9db18282ab16274eaf501d96371ee642586>`__
  `#10141 <https://codeberg.org/freeipa/freeipa/issues/10141>`__
- ipa-backup: backup samba registry files
  `commit <https://codeberg.org/freeipa/freeipa/commit/7d513c92bba6a245c12ca797a678ace02004d314>`__
  `#10123 <https://codeberg.org/freeipa/freeipa/issues/10123>`__

Jakub Jelen (1)
~~~~~~~~~~~~~~~

- spec: Verify source signatures with openpgpverify
  `commit <https://codeberg.org/freeipa/freeipa/commit/c62135679bf566d745a451ccfbace1a40714902c>`__

Julien Rische (1)
~~~~~~~~~~~~~~~~~

- ipaplatform: fix supported Kerberos enctypes list
  `commit <https://codeberg.org/freeipa/freeipa/commit/1e82ea31e78268b90661e0fd5236c7331fc26342>`__

Marcos Soutullo (1)
~~~~~~~~~~~~~~~~~~~

- ipapython: correct variadic Kerberos principal calling convention
  `commit <https://codeberg.org/freeipa/freeipa/commit/de24d68a005c768b82622f34afe55ed4fd86bb70>`__
  `#9627 <https://codeberg.org/freeipa/freeipa/issues/9627>`__

Priyanka Doiphode (1)
~~~~~~~~~~~~~~~~~~~~~

- Fix typo in ipa-migrate(1)
  `commit <https://codeberg.org/freeipa/freeipa/commit/30e805a4aba8ef3b47830c6be8df77525ebc3c8f>`__

PRANAV THUBE (6)
~~~~~~~~~~~~~~~~

- ipatests: Fix DNS resolution for package installation in edns
  testsuite.
  `commit <https://codeberg.org/freeipa/freeipa/commit/f1be155062f09d461b03db0179baa667499fbd72>`__
- ipatests: skip empty-PKCS12-password caless tests in FIPS mode
  `commit <https://codeberg.org/freeipa/freeipa/commit/c16aa587ca918f76edad80b21fc2f29f2a6455b2>`__
  `#10138 <https://codeberg.org/freeipa/freeipa/issues/10138>`__
- ipatests: wait for SSH target user on master in
  test_proxycommand_invalid_shell
  `commit <https://codeberg.org/freeipa/freeipa/commit/93093f99d0d92046bfabba24c938dd4f96f8ccb8>`__
- ipatests: add -nomacver for ca-agent.p12 openssl call on FIPS
  `commit <https://codeberg.org/freeipa/freeipa/commit/3bba2579ece5a4f6bc234ea9f73fa81c7068f603>`__
  `#10139 <https://codeberg.org/freeipa/freeipa/issues/10139>`__
- ipa user-mod: apply LastMember check when locking via nsaccountlock
  `commit <https://codeberg.org/freeipa/freeipa/commit/e1ea4823070f5f8be57edde1ad39bc4dc9847a8f>`__
  `#10120 <https://codeberg.org/freeipa/freeipa/issues/10120>`__
- ipatests: provide password for stageuser-add in prepare_ipa_server
  `commit <https://codeberg.org/freeipa/freeipa/commit/bc56894712cde12be65fc6fe8efeba68b175ab38>`__
  `#10135 <https://codeberg.org/freeipa/freeipa/issues/10135>`__

Sudhir Menon (1)
~~~~~~~~~~~~~~~~

- ipatests: add DNS SyncRepl and dynamic update coverage
  `commit <https://codeberg.org/freeipa/freeipa/commit/429daed2b3e66d450204104b1413d9252f2bdf33>`__

Thomas Woerner (1)
~~~~~~~~~~~~~~~~~~

- bindinstance: do not require BIND to set up templating
  `commit <https://codeberg.org/freeipa/freeipa/commit/889815155ff87f6a908f073a524bf2dd67ce3769>`__
