CVE-2026-108122 PUBLISHED

Freeipa: freeipa: predictable all-zero nt hash accepted for samba pass-the-hash authentication when nthash generation is disabled

Assigner: redhat
Reserved: 09.10.2026 Published: 30.11.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: unknown
Vendor Red Hat
Product Red Hat Enterprise Linux 7
Versions Default: unknown
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected

Workarounds

Administrators who have disabled NT hash generation on a server configured for Active Directory trust should re-enable it (ipa config-mod --setattr='ipaconfigstring=AllowNThash') and force a password reset for any affected accounts, since existing zeroed hash values are not corrected automatically by re-enabling the setting alone. Alternatively, restrict network access to the server's SMB/RPC ports (139/tcp, 445/tcp) to only hosts that require AD trust connectivity until a fix is applied.

Credits

  • This issue was discovered by François Cami (Red Hat).

References

Problem Types

  • Use of Hard-coded Credentials CWE