CVE-2026-108122

Description

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.

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.

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.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score9.8N/A9.8
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Access Control

Technical Impact: Bypass Protection Mechanism

If hard-coded passwords are used, it is almost certain that malicious users will gain access to the account in question. Any user of the product that hard-codes passwords may be able to extract the password. Client-side systems with hard-coded passwords pose even more of a threat, since the extraction of a password from a binary is usually very simple.

Integrity,Confidentiality,Availability,Access Control,Other

Technical Impact: Read Application Data; Gain Privileges or Assume Identity; Execute Unauthorized Code or Commands; Other

This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code. If the password is ever discovered or published (a common occurrence on the Internet), then anybody with knowledge of this password can access the product. Finally, since all installations of the product will have the same password, even across different organizations, this enables massive attacks such as worms to take place.

Acknowledgements

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

Frequently Asked Questions

Want to get errata notifications? Sign up here.