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)
Affects keystoneSource GCVE Database
Not known to be exploited · CVSS 7.7 High · fixed in 2:21.0.1-0ubuntu2.4 : patch keystone soon.
Data as of 24 Nov 2026, 20:28 UTC
- Patch
- Available – fixed in 2:21.0.1-0ubuntu2.4, 2:25.0.0-0ubuntu1.4, 2:28.0.0-0ubuntu1.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu keystone to 2:21.0.1-0ubuntu2.4 (package) or 2:25.0.0-0ubuntu1.4 (package) or 2:28.0.0-0ubuntu1.3 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10keystonepkg:deb/ubuntu/keystone?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-40683 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40683 (opens in a new tab)
- bugs.launchpad.net/keystone/+bug/2121152 (opens in a new tab)
- bugs.launchpad.net/keystone/+bug/2141713 (opens in a new tab)
- review.opendev.org/958205 (opens in a new tab)
- openwall.com/lists/oss-security/2026/04/14/9 (opens in a new tab)
- ubuntu.com/security/notices/USN-8433-1 (opens in a new tab)