Act nowDisclosed

Advisory · CVE-2026-108122

FreeIPA zeroed NT hash lets an attacker log in as any user without a password

When NT hash generation is disabled, FreeIPA writes a predictable all-zero ipaNTHash on the next password change, and its Samba passdb backend accepts it, so anyone who knows a valid username can authenticate via NTLM pass-the-hash without a password. Scored CVSS 3.1 9.8. Only deployments with NT hash generation manually disabled and Active Directory trust configured are affected; default configurations are not. Red Hat's mitigation is to re-enable NT hash generation and force password resets.

Vendor
Red Hat
Product
FreeIPA
Identifier / CWE
CVE-2026-108122
CWE-798
Action timing
Immediate
ELI5

Explain it like I’m five

FreeIPA can store a scrambled version of your password for Windows logins. If an admin turns that feature off, FreeIPA writes a password made of all zeros instead of nothing at all, and the Windows login checker accepts those zeros as a real password. Anyone who knows a username can log in as that person, no password needed.

SIMPLIFIED_ATTACK_PATH05 STEPS
  1. 01NT hash generation disabled

    An administrator has manually disabled NT hash generation on a FreeIPA server that also has Active Directory trust configured.

  2. 02Password change writes zeros

    On the next password change, the ipaNTHash attribute is written as a predictable all-zero value instead of being left unset.

  3. 03Passdb accepts the zero hash

    FreeIPA's Samba passdb backend accepts the all-zero value without validating its contents.

  4. 04Pass-the-hash login

    A remote attacker who knows a valid username authenticates as that user via Samba NTLM pass-the-hash, without a password.

  5. 05Privileged impersonation

    On servers configured for Active Directory trust, this can allow impersonation of privileged accounts and unauthorized access to cross-forest trust configuration.

What happened

A flaw was found in FreeIPA. When NT hash generation is disabled, the ipaNTHash attribute written on the next password change is a predictable all-zero value instead of being left unset. FreeIPA’s Samba passdb backend accepts this value without validating its contents, allowing a remote attacker who knows a valid username to authenticate as that user via Samba NTLM pass-the-hash, without a password. On servers configured for Active Directory trust, this can allow impersonation of privileged accounts and unauthorized access to, or modification of, cross-forest trust configuration.

Red Hat rates the flaw CVSS 3.1 9.8. The issue only affects deployments where NT hash generation has been manually disabled and where Active Directory trust support is configured on the same server. Deployments using the default configuration, where NT hash generation remains enabled, are not affected, and deployments running in FIPS mode are not affected through this mechanism since FIPS mode disables the NTLM protocol required to exploit it.

Red Hat’s mitigation is to re-enable NT hash generation and force a password reset for any affected accounts, since existing zeroed hash values are not corrected automatically by re-enabling the setting alone. Restricting network access to the server’s SMB/RPC ports (139/tcp, 445/tcp) to only hosts that require AD trust connectivity is an alternative until a fix is applied. No fixed release was listed at the time of writing.

What to do

  1. Check whether NT hash generation has been disabled on any FreeIPA server, and whether Active Directory trust is configured on the same server; only servers with both conditions are affected.
  2. On affected servers, re-enable NT hash generation and force a password reset for all accounts, since zeroed hashes persist until the password is changed.
  3. Restrict network access to SMB/RPC ports (139/tcp, 445/tcp) to only hosts that require AD trust connectivity until the fix is applied.
  4. Review Samba and authentication logs for NTLM logins, especially logins to privileged accounts from unexpected hosts.
  5. Watch for a fixed FreeIPA release from Red Hat and apply it as soon as one is available.
  6. If an unexpected NTLM login to a privileged account is found, treat it as a compromise: investigate the account, rotate its credentials, and review cross-forest trust configuration for changes.

Management note

A 9.8 that only bites a non-default configuration is still a 9.8 for the shops running that configuration, and hybrid FreeIPA and Active Directory deployments are exactly the ones that disable NT hash generation. The check is quick, the mitigation is a config change plus password resets, and there is no reason to wait for the patch to do it.