CVE-2026-40683
highpriority · track · 0EPSS 0.003 · 27 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
- Red Hat OpenShift OpenStack Servicesall versionscert_bundDEcpe:/a:redhat:openshift:openstack_services
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1116Red Hat OpenStack Keystone: Schwachstelle ermöglicht PrivilegieneskalationDeutsch2026-04-14csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Red Hat OpenStack Keystone ausnutzen, um die Authentifizierung zu umgehen und sich unbefugten Zugriff auf das System zu verschaffen.
- GHSA-pfx2-9x9m-7ghxOpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean2026-04-14ghsa · osvUS
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.
- PYSEC-2026-2550OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean2026-07-13vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://bugs.launchpad.net/keystone/+bug/2121152cnnvd
- https://bugs.launchpad.net/keystone/+bug/2141713cnnvd
- https://github.com/openstack/keystone/tagsPatchcnnvd
- https://review.opendev.org/958205cnnvd
- https://www.openwall.com/lists/oss-security/2026/04/14/9cnnvd
- https://bugs.launchpad.net/keystone/+bug/2121152enisa_euvd
- https://bugs.launchpad.net/keystone/+bug/2141713enisa_euvd
- https://review.opendev.org/958205enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan