CVE-2026-40683 OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 8 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/openstack-keystone(Red Hat openstack 13) | All versions | No fix listed | No fix yet |
| redhat/rhosp13/openstack-keystone(Red Hat openstack 13) | All versions | No fix listed | No fix yet |
| debian/keystone(Debian 12) | < 2:22.0.2-0+deb12u2; = 2:22.0.0-2; = 2:22.0.2-0+deb12u1 | 2:22.0.2-0+deb12u2 | Fixed |
| debian/keystone(Debian 13) | < 2:27.0.0-3+deb13u3; = 2:27.0.0-3; = 2:27.0.0-3+deb13u1 | 2:27.0.0-3+deb13u3 | Fixed |
| debian/keystone(Debian 14) | < 2:29.0.0~rc1-2; = 2:27.0.0-3; = 2:28.0.0-1; = 2:28.0.0-2 +8 more | 2:29.0.0~rc1-2 | 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, 26.1.1, 27.0.1, 28.0.1 | Fixed |
| pypi keystone(PyPI) | < 28.0.1; = 12.0.2; = 12.0.3; = 13.0.2 +56 more | 28.0.1 | Fixed |
| redhat/openstack-keystone(Red Hat openstack 18.0 el9) | < 1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost | 1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost | Fixed |
| ubuntu/keystone(Ubuntu 22.04) | < 2:21.0.1-0ubuntu2.4 | 2:21.0.1-0ubuntu2.4 | Fixed |
| ubuntu/keystone(Ubuntu 24.04) | < 2:25.0.0-0ubuntu1.4 | 2:25.0.0-0ubuntu1.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi keystone(PyPI) | < 28.0.1 | 28.0.1 |
| pypi keystone(PyPI) | = 12.0.2 | No fix listed |
| pypi keystone(PyPI) | = 12.0.3 | No fix listed |
| pypi keystone(PyPI) | = 13.0.2 | No fix listed |
| pypi keystone(PyPI) | = 13.0.3 | No fix listed |
| pypi keystone(PyPI) | = 13.0.4 | No fix listed |
| pypi keystone(PyPI) | = 14.0.0 | No fix listed |
| pypi keystone(PyPI) | = 14.0.1 | No fix listed |
| pypi keystone(PyPI) | = 14.1.0 | No fix listed |
| pypi keystone(PyPI) | = 14.2.0 | No fix listed |
| pypi keystone(PyPI) | = 15.0.0 | No fix listed |
| pypi keystone(PyPI) | = 15.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 15.0.0.0rc2 | No fix listed |
| pypi keystone(PyPI) | = 15.0.1 | No fix listed |
| pypi keystone(PyPI) | = 16.0.0 | No fix listed |
| pypi keystone(PyPI) | = 16.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 16.0.0.0rc2 | No fix listed |
| pypi keystone(PyPI) | = 16.0.1 | No fix listed |
| pypi keystone(PyPI) | = 16.0.2 | No fix listed |
| pypi keystone(PyPI) | = 17.0.0 | No fix listed |
| pypi keystone(PyPI) | = 17.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 17.0.0.0rc2 | No fix listed |
| pypi keystone(PyPI) | = 17.0.1 | No fix listed |
| pypi keystone(PyPI) | = 18.0.0 | No fix listed |
| pypi keystone(PyPI) | = 18.0.0.0rc1 | No fix listed |
Show 62 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi keystone(PyPI) | = 18.1.0 | No fix listed |
| pypi keystone(PyPI) | = 19.0.0 | No fix listed |
| pypi keystone(PyPI) | = 19.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 19.0.0.0rc2 | No fix listed |
| pypi keystone(PyPI) | = 19.0.1 | No fix listed |
| pypi keystone(PyPI) | = 20.0.0 | No fix listed |
| pypi keystone(PyPI) | = 20.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 20.0.1 | No fix listed |
| pypi keystone(PyPI) | = 21.0.0 | No fix listed |
| pypi keystone(PyPI) | = 21.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 21.0.1 | No fix listed |
| pypi keystone(PyPI) | = 22.0.0 | No fix listed |
| pypi keystone(PyPI) | = 22.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 22.0.1 | No fix listed |
| pypi keystone(PyPI) | = 22.0.2 | No fix listed |
| pypi keystone(PyPI) | = 23.0.0 | No fix listed |
| pypi keystone(PyPI) | = 23.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 23.0.1 | No fix listed |
| pypi keystone(PyPI) | = 23.0.2 | No fix listed |
| pypi keystone(PyPI) | = 24.0.0 | No fix listed |
| pypi keystone(PyPI) | = 24.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 24.1.0 | No fix listed |
| pypi keystone(PyPI) | = 25.0.0 | No fix listed |
| pypi keystone(PyPI) | = 25.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 26.0.0 | No fix listed |
| pypi keystone(PyPI) | = 26.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 26.1.0 | No fix listed |
| pypi keystone(PyPI) | = 26.1.1 | No fix listed |
| pypi keystone(PyPI) | = 27.0.0 | No fix listed |
| pypi keystone(PyPI) | = 27.0.0.0rc1 | No fix listed |
| pypi keystone(PyPI) | = 27.0.1 | No fix listed |
| pypi keystone(PyPI) | = 27.0.2 | No fix listed |
| pypi keystone(PyPI) | = 27.1.0 | No fix listed |
| pypi keystone(PyPI) | = 28.0.0 | No fix listed |
| pypi keystone(PyPI) | = 28.0.0.0rc1 | No fix listed |
| OpenStack Keystone | >= 8.0.0, < 25.0.1 | 25.0.1 |
| OpenStack Keystone | >= 26.0.0, < 26.1.1 | 26.1.1 |
| OpenStack Keystone | >= 27.0.0, < 27.0.1 | 27.0.1 |
| OpenStack Keystone | >= 28.0.0, < 28.0.1 | 28.0.1 |
| debian/keystone(Debian:12) | < 2:22.0.2-0+deb12u2 | 2:22.0.2-0+deb12u2 |
| debian/keystone(Debian:12) | = 2:22.0.0-2 | No fix listed |
| debian/keystone(Debian:12) | = 2:22.0.2-0+deb12u1 | No fix listed |
| debian/keystone(Debian:13) | < 2:27.0.0-3+deb13u3 | 2:27.0.0-3+deb13u3 |
| debian/keystone(Debian:13) | = 2:27.0.0-3 | No fix listed |
| debian/keystone(Debian:13) | = 2:27.0.0-3+deb13u1 | No fix listed |
| debian/keystone(Debian:14) | < 2:29.0.0~rc1-2 | 2:29.0.0~rc1-2 |
| debian/keystone(Debian:14) | = 2:27.0.0-3 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0-1 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0-2 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0-3 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0-4 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0-5 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0-6 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0~rc1-1 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0~rc1-2 | No fix listed |
| debian/keystone(Debian:14) | = 2:28.0.0~rc1-4 | No fix listed |
| debian/keystone(Debian:14) | = 2:29.0.0~rc1-1 | No fix listed |
| redhat/openstack-keystone(Red Hat:openstack:18.0::el9) | < 1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost | 1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost |
| redhat/openstack-keystone(Red Hat:openstack:13) | All versions | No fix listed |
| redhat/rhosp13/openstack-keystone(Red Hat:openstack:13) | All versions | No fix listed |
| ubuntu/keystone(Ubuntu:22.04) | < 2:21.0.1-0ubuntu2.4 | 2:21.0.1-0ubuntu2.4 |
| ubuntu/keystone(Ubuntu:24.04) | < 2:25.0.0-0ubuntu1.4 | 2:25.0.0-0ubuntu1.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- bugs.launchpad.net issue-tracking
- bugs.launchpad.net issue-tracking
- github.com product
- review.opendev.org
- www.openwall.com
- pypi.org product
- github.com vendor-advisory
- www.openwall.com
- Debian Security Tracker CVE-2026-40683 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:39808 patch vendor-advisory
- Red Hat Bugzilla 2458472 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- USN-8433-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-22701 third-party-advisory