🛡️ CVE-2026-40683 on Debian — keystone
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.
Distribution advisory
This page covers CVE-2026-40683 as tracked by Debian, for the package keystone. The fix is available in version 2:29.0.0~rc1-2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability high.
Weakness class
DEBIAN-CVE-2026-40683 is classified as CWE-843: Type Confusion. A resource is accessed as one type while actually being another, so the interpretation of its memory is wrong.
Affected software
DEBIAN-CVE-2026-40683 is recorded against 1 package.
- keystone (fixed in 2:29.0.0~rc1-2)
Timeline and source
Published on 14 April 2026 and last revised on 6 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-40683 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| keystone | — | 2:29.0.0~rc1-2 |
References
Similar Threats
- Unknown CVE-2012-3426
- High CVE-2012-3542
- Unknown CVE-2012-4413
- High CVE-2012-5563
- Unknown CVE-2012-5571
Site Security Check
Is keystone part of your stack?
DEBIAN-CVE-2026-40683 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.