FreeIPA: a predictable all-zero hash lets attackers log in as any user
FreeIPA writes a predictable all-zero NT hash when hash generation is off, letting anyone log in as any user without a password. CVE-2026-108122 scores 9.8 and has no fix yet.

Affects
- FreeIPA
- Red Hat Enterprise Linux
Tracked as
CVE-2026-108122FreeIPA on Red Hat Enterprise Linux 8, 9 and 10 · CVSS 9.8
A flaw in FreeIPA, disclosed by Red Hat on 30 November 2026, lets a remote attacker log in as any user without knowing a password. The bug, CVE-2026-108122, scores 9.8. It affects FreeIPA identity servers on Red Hat Enterprise Linux 8, 9 and 10 that are joined to an Active Directory trust. There is no fixed package yet, so the defence is a configuration change plus password resets.
How a disabled setting becomes a skeleton key
FreeIPA can store an NT hash for each account so that Samba can answer NTLM logins. Administrators who switch that generation off expect the stored hash to simply stay empty. Instead, on the next password change FreeIPA writes a predictable all-zero value into the ipaNTHash attribute. The Samba password database backend then accepts that value without checking whether it is real.
The result is a classic pass-the-hash attack with no hash to steal. An attacker who knows any valid username — and usernames are rarely secret — can present the all-zero hash and be accepted as that user. On a server configured for Active Directory trust, that can mean impersonating privileged accounts and reaching or changing cross-forest trust settings.
What to do now
Red Hat lists every supported release as affected and has published a mitigation rather than a patch. Administrators who turned NT hash generation off on a server with an Active Directory trust should turn it back on:
ipa config-mod --setattr='ipaconfigstring=AllowNThash'
Turning the setting back on is not enough on its own. Hashes that were already zeroed stay zeroed, so force a password reset for every affected account after re-enabling it — only a fresh password change writes a real hash. As a second layer, restrict network access to the server’s SMB and RPC ports, 139 and 445, to only the hosts that genuinely need Active Directory trust connectivity, and keep that restriction until a fixed FreeIPA build arrives.
If your FreeIPA servers never had NT hash generation switched off, or have no Active Directory trust, this flaw does not apply to you. The dangerous combination is the trust plus the disabled setting — check both before deciding you are safe.
Red Hat’s CVE page carries the full details and the mitigation steps.
Sources
- CVE-2026-108122Red Hat
- CVE-2026-108122 DetailNVD


