CVE Catalog

CVE-2026-40683

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

24th percentile - higher than 24% of all known CVEs

Summary

In OpenStack Keystone before version 28.0.1, the LDAP identity backend does not convert the user enabled attribute to a boolean when the user_enabled_invert configuration option is False (the default). This causes users disabled in LDAP to be treated as enabled by Keystone, allowing them to authenticate and perform actions.

Risk Assessment

Users who should be blocked (e.g., former employees) can still log in and perform operations in the system, posing a serious security breach.

Recommendation

Update OpenStack Keystone to version 28.0.1 or later, which contains the fix. Alternatively, set user_enabled_invert=True or enable user_enabled_emulation.

Other vulnerabilities in OpenStack Keystone

See all
Original NVD description (English source)

In OpenStack Keystone before 28.0.1, the LDAP identity backend does not convert the user enabled attribute to a boolean when the user_enabled_invert configuration option is False (the default). The _ldap_res_to_model method in the UserApi class only performed string-to-boolean conversion when user_enabled_invert was True. When False, the raw string value from LDAP (e.g., "FALSE") was used directly. Since non-empty strings are truthy in Python, users marked as disabled in LDAP were treated as enabled by Keystone, allowing them to authenticate and perform actions. All deployments using the LDAP identity backend without user_enabled_invert=True or user_enabled_emulation are affected.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS