CVE-2026-40683
published high CVSS 3.1 · 7.7OpenStack Keystone: Unauthorized access due to incorrect LDAP user status handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenStack | — | Keystone8.0.0 to < 25.0.1 · 26.0.0 to < 26.1.1 · 27.0.0 to < 27.0.1 · 28.0.0 to < 28.0.1 · Other versions: unaffected | Affected | Not stated | mitre |
| Debian | bullseye | keystone | Advisory build | 2:18.1.0-1+deb11u3 | DLA-4611-1 |
| Ubuntu | jammy | keystone | Advisory build | 2:21.0.1-0ubuntu2.4 | USN-8433-1 |
| Ubuntu | jammy | keystone-common | Advisory build | 2:21.0.1-0ubuntu2.4 | USN-8433-1 |
| Ubuntu | jammy | python3-keystone | Advisory build | 2:21.0.1-0ubuntu2.4 | USN-8433-1 |
| Ubuntu | noble | keystone | Advisory build | 2:25.0.0-0ubuntu1.4 | USN-8433-1 |
| Ubuntu | noble | keystone-common | Advisory build | 2:25.0.0-0ubuntu1.4 | USN-8433-1 |
| Ubuntu | noble | python3-keystone | Advisory build | 2:25.0.0-0ubuntu1.4 | USN-8433-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | questing | keystone | Advisory build | 2:28.0.0-0ubuntu1.3 | USN-8433-1 |
| Ubuntu | questing | keystone-common | Advisory build | 2:28.0.0-0ubuntu1.3 | USN-8433-1 |
| Ubuntu | questing | python3-keystone | Advisory build | 2:28.0.0-0ubuntu1.3 | USN-8433-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenStack | Keystone | 8.0.0 to < 25.0.1 (affected · semver)26.0.0 to < 26.1.1 (affected · semver)27.0.0 to < 27.0.1 (affected · semver)28.0.0 to < 28.0.1 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
5Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 786fb47f162943c52218ab8a32e3acfc49d71448b36edbe1316218bbd13365e2
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record