
CVE catalog
CVE-2026-40683
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 _l
- Severity
- High · CVSS 7.7
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.34% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | keystone | sid | 2:30.0.0-3 | fixed |
| Debian | keystone | forky | 2:30.0.0-3 | fixed |
| Debian | keystone | trixie | 2:27.0.0-3+deb13u5 | fixed |
| Debian | keystone | trixie-security | 2:27.0.0-3+deb13u6 | fixed |
| Debian | keystone | bookworm | 2:22.0.2-0+deb12u3 | fixed |
| Debian | keystone | bookworm-security | 2:22.0.2-0+deb12u6 | fixed |
| Cpe | keystone | Not reported | 2:25.0.0-0ubuntu1.4 | fixed |
| Cpe | keystone-common | Not reported | 2:25.0.0-0ubuntu1.4 | fixed |
| Cpe | keystone-doc | Not reported | 2:25.0.0-0ubuntu1.4 | fixed |
| Cpe | python3-keystone | Not reported | 2:25.0.0-0ubuntu1.4 | fixed |
| Ubuntu | keystone | pro | 2:16.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.0~b1~git2019121613.db81fee63-0ubuntu1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.0~b2~git2020020513.99733f172-0ubuntu1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.0~b3~git2020032415.9f9040257-0ubuntu1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.0~b3~git2020032415.9f9040257-0ubuntu2 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.0~b3~git2020041013.7bb6314e4-0ubuntu1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.0-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.1-0ubuntu1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.1-0ubuntu2 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.1-0ubuntu2+esm1 | vulnerable |
| Ubuntu | keystone | pro | 2:17.0.1-0ubuntu2+esm2 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:20.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:20.0.0+git2021120815.2ddf8f321-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:20.0.0+git2022011217.771c943ad-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:20.0.0+git2022030313.a3fc9e7c3-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:21.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:21.0.1-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:21.0.1-0ubuntu2 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:21.0.1-0ubuntu2.1 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:21.0.1-0ubuntu2.2 | vulnerable |
| Ubuntu | keystone | 22.04 | 2:21.0.1-0ubuntu2.4 | fixed |
| Ubuntu | keystone | 24.04 | 2:24.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 24.04 | 2:24.0.0+git2024011916.adfa92b4-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 24.04 | 2:25.0.0~rc1-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 24.04 | 2:25.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 24.04 | 2:25.0.0-0ubuntu1.1 | vulnerable |
| Ubuntu | keystone | 24.04 | 2:25.0.0-0ubuntu1.2 | vulnerable |
| Ubuntu | keystone | 24.04 | 2:25.0.0-0ubuntu1.4 | fixed |
| Ubuntu | keystone | 25.10 | 2:27.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 25.10 | 2:27.0.0+git2025080113.e066e18ab-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 25.10 | 2:28.0.0~rc1-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 25.10 | 2:28.0.0-0ubuntu1 | vulnerable |
| Ubuntu | keystone | 25.10 | 2:28.0.0-0ubuntu1.1 | vulnerable |
| Ubuntu | keystone | 25.10 | 2:28.0.0-0ubuntu1.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | keystone | source | sid | 2:29.0.0~rc1-2 | not yet assigned | Not reported | [1133884] |
| Debian | keystone | source | forky | 2:29.0.0~rc1-2 | not yet assigned | Not reported | [1133884] |
| Debian | keystone | source | trixie | 2:27.0.0-3+deb13u3 | not yet assigned | Not reported | [1133884] |
| Debian | keystone | source | bookworm | 2:22.0.2-0+deb12u2 | not yet assigned | Not reported | [1133884] |
| Cpe | keystone | cpe | Not reported | 2:25.0.0-0ubuntu1.4 | Not reported | Not reported | Not reported |
| Cpe | keystone-common | cpe | Not reported | 2:25.0.0-0ubuntu1.4 | Not reported | Not reported | Not reported |
| Cpe | keystone-doc | cpe | Not reported | 2:25.0.0-0ubuntu1.4 | Not reported | Not reported | Not reported |
| Cpe | python3-keystone | cpe | Not reported | 2:25.0.0-0ubuntu1.4 | Not reported | Not reported | Not reported |
| Ubuntu | keystone | deb | 22.04 | 2:21.0.1-0ubuntu2.4 | Not reported | UBUNTU-CVE-2026-40683 | Not reported |
| Ubuntu | keystone | deb | 24.04 | 2:25.0.0-0ubuntu1.4 | Not reported | UBUNTU-CVE-2026-40683 | Not reported |
| Ubuntu | keystone | deb | 25.10 | 2:28.0.0-0ubuntu1.3 | Not reported | UBUNTU-CVE-2026-40683 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [keystone]Fixed
Details (4)
2:22.0.2-0+deb12u3· all · bookwormFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookwormFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookworm-securityFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookworm-securityFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
- [keystone-doc]Fixed
Source package: [keystone]
Details (4)
2:22.0.2-0+deb12u3· all · bookwormFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookwormFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookworm-securityFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookworm-securityFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
- [python3-keystone]Fixed
Source package: [keystone]
Details (4)
2:22.0.2-0+deb12u3· all · bookwormFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookwormFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookworm-securityFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
2:22.0.2-0+deb12u3· all · bookworm-securityFixed · Fixed:
2:22.0.2-0+deb12u2nvd · keystone · debian · bookworm; nvd · keystone · debian · 12
[Debian 13 (Trixie)]
- [keystone]Fixed
Details (6)
2:27.0.0-3+deb13u4· all · trixieFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixieFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixie-securityFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixie-security · Historical versionFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u5· all · trixie-security · Historical versionFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u6· all · trixie-securityFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
- [keystone-doc]Fixed
Source package: [keystone]
Details (6)
2:27.0.0-3+deb13u4· all · trixieFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixieFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixie-securityFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixie-security · Historical versionFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u5· all · trixie-security · Historical versionFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u6· all · trixie-securityFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
- [python3-keystone]Fixed
Source package: [keystone]
Details (6)
2:27.0.0-3+deb13u4· all · trixieFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixieFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixie-securityFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u4· all · trixie-security · Historical versionFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u5· all · trixie-security · Historical versionFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
2:27.0.0-3+deb13u6· all · trixie-securityFixed · Fixed:
2:27.0.0-3+deb13u3nvd · keystone · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40683]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40683]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40683]
- [https://security-tracker.debian.org/tracker/CVE-2026-40683]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40683.json]
- [https://ubuntu.com/security/notices/USN-8433-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1116.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]