Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-40683
Published:April 14, 2026
Updated:April 23, 2026
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.
Affected Packages
https://github.com/openstack/keystone.git (GITHUB):
Affected version(s) >=8.0.0 <25.0.1
Fix Suggestion:
Update to version 25.0.1
https://github.com/openstack/keystone.git (GITHUB):
Affected version(s) =28.0.0 <28.0.1
Fix Suggestion:
Update to version 28.0.1
https://github.com/openstack/keystone.git (GITHUB):
Affected version(s) >=26.0.0 <26.1.1
Fix Suggestion:
Update to version 26.1.1
https://github.com/openstack/keystone.git (GITHUB):
Affected version(s) =27.0.0 <27.0.1
Fix Suggestion:
Update to version 27.0.1
keystone (PYTHON):
Affected version(s) =28.0.0 <28.0.1
Fix Suggestion:
Update to version 28.0.1
keystone (PYTHON):
Affected version(s) >=26.0.0 <26.1.1
Fix Suggestion:
Update to version 26.1.1
keystone (PYTHON):
Affected version(s) >=0.1 <28.0.1
Fix Suggestion:
Update to version 28.0.1
keystone (PYTHON):
Affected version(s) =27.0.0 <27.0.1
Fix Suggestion:
Update to version 27.0.1
keystone (PYTHON):
Affected version(s) >=12.0.2 <25.0.1
Fix Suggestion:
Update to version 25.0.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
HIGH
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Access of Resource Using Incompatible Type ('Type Confusion')
EPSS
Base Score:
0.01