CVE-2026-40683
Summary
| CVE | CVE-2026-40683 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-14 20:16:48 UTC |
| Updated | 2026-04-14 21:16:26 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.7 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Problem Types: CWE-843 | CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H |
| 3.1 | CNA | CVSS | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | OpenStack | Keystone | affected 8.0.0 25.0.1 semver | Not specified |
| CNA | OpenStack | Keystone | affected 26.0.0 26.1.1 semver | Not specified |
| CNA | OpenStack | Keystone | affected 27.0.0 27.0.1 semver | Not specified |
| CNA | OpenStack | Keystone | affected 28.0.0 28.0.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| bugs.launchpad.net/keystone/+bug/2141713 | [email protected] | bugs.launchpad.net | |
| bugs.launchpad.net/keystone/+bug/2121152 | [email protected] | bugs.launchpad.net | |
| www.openwall.com/lists/oss-security/2026/04/14/9 | [email protected] | www.openwall.com | |
| review.opendev.org/958205 | [email protected] | review.opendev.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.