keystone: In OpenStack Keystone before 28.0.1, the LDAP identity backend does not convert the user enabled attribute to a boole...
CVE-2026-40683 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2026-40683, released April 14, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| keystone · Debian 12.15 (bookworm) | 2:22.0.2-0+deb12u2 | DEBIAN-CVE-2026-40683 | Apr 14, 2026 |
| keystone · Debian 13.5 (trixie) | 2:27.0.0-3+deb13u3 | DEBIAN-CVE-2026-40683 | Apr 14, 2026 |
| keystone · Debian 14 | 2:29.0.0~rc1-2 | DEBIAN-CVE-2026-40683 | Apr 14, 2026 |
| keystone · Ubuntu 22.04.1 LTS (jammy) | 2:21.0.1-0ubuntu2.4 | keystone 2:21.0.1-0ubuntu2.4 | Jun 24, 2026 |
| keystone · Ubuntu 24.04.5 LTS (noble) | 2:25.0.0-0ubuntu1.4 | keystone 2:25.0.0-0ubuntu1.4 | Jun 24, 2026 |
| keystone · Ubuntu 25.10 (questing) | 2:28.0.0-0ubuntu1.3 | keystone 2:28.0.0-0ubuntu1.3 | Jun 24, 2026 |
| keystone-common · Ubuntu 22.04.1 LTS (jammy) | 2:21.0.1-0ubuntu2.4 | keystone-common 2:21.0.1-0ubuntu2.4 | Jun 24, 2026 |
| keystone-common · Ubuntu 24.04.5 LTS (noble) | 2:25.0.0-0ubuntu1.4 | keystone-common 2:25.0.0-0ubuntu1.4 | Jun 24, 2026 |
| keystone-common · Ubuntu 25.10 (questing) | 2:28.0.0-0ubuntu1.3 | keystone-common 2:28.0.0-0ubuntu1.3 | Jun 24, 2026 |
| python3-keystone · Ubuntu 22.04.1 LTS (jammy) | 2:21.0.1-0ubuntu2.4 | python3-keystone 2:21.0.1-0ubuntu2.4 | Jun 24, 2026 |
| python3-keystone · Ubuntu 24.04.5 LTS (noble) | 2:25.0.0-0ubuntu1.4 | python3-keystone 2:25.0.0-0ubuntu1.4 | Jun 24, 2026 |
| python3-keystone · Ubuntu 25.10 (questing) | 2:28.0.0-0ubuntu1.3 | python3-keystone 2:28.0.0-0ubuntu1.3 | Jun 24, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.