cve.bz

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

9.8 critical

Critical (9.8) in red hat.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-798 Use of Hard-coded Credentials
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-108122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-108122?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-108122?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-108122 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue only affects IdM/FreeIPA deployments where NT hash generation has been manually disabled (for example via `ipa config-mod --delattr='ipaconfigstring=AllowNThash'`) and where Active Directory trust support (`ipa-adtrust-install`) is configured on the same server. Deployments using the default configuration, where NT hash generation remains enabled, are not affected. Deployments running in FIPS mode are also not affected via this specific mechanism, since FIPS mode disables the NTLM protocol required to exploit this issue.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ipaAffected
Red Hat Enterprise Linux 6ipaOut of support scope
Red Hat Enterprise Linux 7ipaOut of support scope
Red Hat Enterprise Linux 8ipaAffected
Red Hat Enterprise Linux 9ipaAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-108122.

Attack patterns (CAPEC)

  • CAPEC-70 Try Common or Default Usernames and Passwords Likelihood: Medium · Severity: High
  • CAPEC-191 Read Sensitive Constants Within an Executable Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON