Background
FreeIPA is the open-source identity management stack built on 389 Directory Server, MIT Kerberos, Dogtag CA, SSSD, and optional Samba integration. The Samba integration lets a Linux domain offer Windows-style file sharing and NTLM authentication by delegating credential checks to the directory. To make NTLM work, FreeIPA can store an NT hash alongside each user entry, surfaced as the ipaNTHash LDAP attribute. Storing NT hashes, however, is exactly the kind of credential material many administrators prefer to keep out of the directory, and FreeIPA exposes a configuration knob to disable NT hash generation.
That knob is what CVE-2026-108122 turns against the operator.
What the flaw does
With NT hash generation disabled, the next password change for any user rewrites the user's LDAP entry but, instead of leaving the ipaNTHash attribute absent, FreeIPA writes an all-zero value. FreeIPA's downstream Samba passdb backend reads that attribute to answer NTLM authentications and does not validate the value's content. Because all affected entries receive the same constant, an attacker who supplies the constant for any valid username is matched against the stored constant and authenticated as that user. No password, no credential guessing, and no special client tooling beyond standard NTLM helpers are required.
This is a state-management and trust-validation defect rather than a memory corruption or injection bug. The intended hardening control — "do not store NT hashes" — silently degrades into a fail-open path that stores a well-known credential material value for the Samba subsystem to trust.
Affected systems
- FreeIPA running on Red Hat Enterprise Linux 10, the product/version pairing carried by the advisory record at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-108122.
- Deployments where FreeIPA is integrated with the Samba passdb backend and Samba is reachable on the network.
- Configurations where FreeIPA's NT hash generation has been disabled — the precondition that makes the vulnerable write path active.
- Accounts that have completed at least one password change after the disabling configuration took effect, since that triggers the writable condition.
- FreeIPA servers carrying Active Directory trust relationships, where the impact extends beyond a single user to privileged accounts and cross-forest trust configuration.
Specific fixed package versions or errata identifiers are not stated in the provided context and should be confirmed against upstream FreeIPA change logs and Red Hat security advisories before remediation decisions are made.
Reach and impact
- Network-reachable, unauthenticated. The only attacker prerequisite is knowledge of a valid username, which is generally obtainable via LDAP enumeration, email patterns, Kerberos naming conventions, or simple social inference.
- Privileges required: none. No password, no valid session, no domain membership.
- Impact ceiling covers full user impersonation, and in AD-trust deployments, potential manipulation of cross-forest trust configuration by an attacker who lands in a privileged role.
- Bypass survives password rotation and lockout, because Samba validates the stored
ipaNTHashrather than the user's actual password — so simply changing a strong password does not invalidate the bypass.
- The forged authenticator is a constant, so the same value works against every affected account and the trivial automation drops directly on top of existing NTLM tooling such as
smbclient,impacket, or hand-rolled NTLMSSP clients.
Beyond the single user
In environments where the FreeIPA realm trusts an Active Directory forest, the impersonation surface widens. Trust relationships govern how authentication is federated across the boundary, and any account reachable via Samba NTLM becomes a stepping stone. Service accounts that hold delegation rights, accounts that manage trust passwords, and accounts authorized to read or write trust attributes sit directly in the path of an attacker who can pick any username and complete an NTLM exchange. From there the attacker can read or modify intersforest trust configuration, persist by altering trust secrets, or pivot into the AD side of the relationship.
This escalation is conditional on AD trust being configured. The base authentication bypass does not require it; the AD-trust chain only amplifies the ceiling.
Exploitation evidence
The intelligence data available for this advisory records no public proof-of-concept, no in-the-wild activity, and no CISA KEV listing. The advisory itself does not describe active exploitation, and the supplied context contains no indicators of compromise, ransomware use, or targeted campaigns against the flaw. Read carefully, the absence of exploitation is not the same as the absence of risk — it reflects the gap between weaponization and disclosure rather than any defensive difficulty. Deployment prevalence of the vulnerable configuration is the practical driver of exposure.
Mitigation
Primary remediation
- Obtain and deploy the upstream FreeIPA fix for CVE-2026-108122 and the corresponding Red Hat Enterprise Linux 10 errata. The context does not state which build fixes the defect; verify against the MSRC record (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-108122), the Red Hat security advisories, and the FreeIPA upstream changelog before action.
- After patching, audit existing LDAP entries and correct or remove any
ipaNTHashvalue that is degenerate (notably the all-zero form). A code fix that stops future bogus writes does not retroactively purge attribute data already stored.
Workarounds while waiting for the patch
- Re-enable NT hash generation in FreeIPA. Counterintuitive but the right stopgap: the vulnerable write path is the "disabled" path, and with generation enabled the attribute receives a real NT hash, restoring the precondition Samba expects. This reintroduces stored NT hashes, which is the exposure the original hardening measure was meant to prevent — an operational trade-off, not a free win.
- Restrict the Samba/NTLM attack surface if the patch cannot yet be applied — firewall controls and
hosts allow/hosts denyto limit Samba access to management hosts or trusted subnets.
- Where Samba integration is not required for the environment, disable or remove the Samba component so the NTLM authentication path is not offered at all.
- After the patch is applied and directory entries are cleaned, rotate the passwords of accounts that were affected, including privileged and service accounts. Rotation is necessary hygiene; it does not by itself invalidate a still-present all-zero
ipaNTHash, but it retires sessions and credentials that may have been used by an attacker during exposure.
Detection and validation
- Directory hunting: query LDAP for
ipaNTHashand flag entries whose value matches a degenerate pattern (an all-zero hex string, or any constant value shared across multiple accounts). Legitimate NT hashes vary per user and per password.
- Configuration audit: confirm whether NT hash generation is actually disabled on in-scope FreeIPA servers; the bug only triggers in that state, so configuration inventory directly determines exposure.
- Log review: scan Samba authentication logs for NTLM successes from unexpected source addresses, from non-interactive client tooling, or that occur outside normal patterns for the affected account.
- Inventory the trust path: identify FreeIPA servers that also run Samba and carry AD trust relationships; these are the deployments with the highest impact ceiling.
- Treat accounts reachable over the Samba/NTLM path during the window of exposure as potentially compromised and investigate for persistence, trust-modification artifacts, and delegation changes before declaring the system clean.
Outlook
The decisive factors over the next weeks will be how many production FreeIPA deployments run with NT hash generation disabled — a configuration a security-conscious administrator is most likely to have chosen — and how quickly a fix lands and is backported into the RHEL 10 stream. Until the directory is patched and audited, the simplest interim posture for high-value FreeIPA estates is to re-enable NT hash generation, narrow the Samba network surface, and watch the directory for constant ipaNTHash values.