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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenStack | Keystone | 8.0.0 – < 25.0.1, 26.0.0 – < 26.1.1, 27.0.0 – < 27.0.1, 28.0.0 – < 28.0.1 | 25.0.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | keystone | 2:29.0.0~rc1-2 | — |
| Debian 13 | keystone | 2:27.0.0-3+deb13u3 | — |
| Debian 12 | keystone | 2:22.0.2-0+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | keystone | 2:28.0.0-0ubuntu1.3 | — |
| Ubuntu 24.04 LTS | keystone | 2:25.0.0-0ubuntu1.4 | — |
| Ubuntu 22.04 LTS | keystone | 2:21.0.1-0ubuntu2.4 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | keystone | No fix yet | — |
| Ubuntu Pro 18.04 LTS | keystone | No fix yet | — |
| Ubuntu Pro 16.04 LTS | keystone | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 18 | python3-keystone +1 | 1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost | RHSA-2026:39808 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | keystone | < 28.0.1 | 28.0.1 | GHSA-pfx2-9x9m-7ghx |
Advisories 2
- RHSA-2026:39808 Red Hat Security Advisory: Red Hat OpenStack Services on OpenShift 18.0 (openstack-keystone) security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- WID-SEC-2026-1116 Red Hat OpenStack Keystone: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Jul 14, 2026