Home / OpenStack / Keystone / CVE-2026-40683
CVE-2026-40683: is it exploited, and which versions of OpenStack Keystone are affected and fixed?
CVE-2026-40683 is a type confusion vulnerability in OpenStack Keystone. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: keystone before 28.0.1 (GitHub advisory GHSA-pfx2-9x9m-7ghx). Fixed in 28.0.1 (GitHub advisory GHSA-pfx2-9x9m-7ghx). Severity: High (7.7, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is 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 _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.
From the CVE record by mitre, last updated August 5, 2026, 18:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenStack | Keystone | from 8.0.0 before 25.0.1 from 26.0.0 before 26.1.1 from 27.0.0 before 27.0.1 from 28.0.0 before 28.0.1 | 25.0.1, 26.1.1, 27.0.1, 28.0.1 |
As the CVE record by mitre states it, last updated August 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | keystone | < 28.0.1 | 28.0.1 | GHSA-pfx2-9x9m-7ghx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 16, 2026. Summary: OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean.
How severe is CVE-2026-40683?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40683 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 14, 2026)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-843 Access of Resource Using Incompatible Type
Where are the vendor advisories and references?
- https://bugs.launchpad.net/keystone/+bug/2121152
- https://bugs.launchpad.net/keystone/+bug/2141713
- https://review.opendev.org/958205
- https://www.openwall.com/lists/oss-security/2026/04/14/9
- http://www.openwall.com/lists/oss-security/2026/08/05/17
When was it published, and where is the official record?
- Reserved
- April 14, 2026
- Published
- April 14, 2026, 20:05 UTC
- CVE record updated
- August 5, 2026, 18:32 UTC by mitre
- NVD
- Awaiting Analysis, last modified August 5, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Keystone?
- Sep 11, 2026CVE-2026-90460 OpenStack Keystone: incorrect authorization
- Aug 26, 2026CVE-2026-80183 OpenStack Keystone: type confusion
- Aug 25, 2026CVE-2026-80184 OpenStack Keystone: incorrect authorization
- Aug 25, 2026CVE-2026-80182 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-44394 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-43000 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-42999 OpenStack Keystone: incorrect authorization
- May 28, 2026CVE-2026-42998 OpenStack Keystone: incorrect authorization
Questions about CVE-2026-40683
Is CVE-2026-40683 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenStack Keystone are affected by CVE-2026-40683?
keystone before 28.0.1, per the GitHub advisory GHSA-pfx2-9x9m-7ghx. The tables above give every range the sources list.
Which version fixes CVE-2026-40683?
28.0.1, per the GitHub advisory GHSA-pfx2-9x9m-7ghx. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40683?
High (7.7, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40683?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.