CVE-2026-40683
Last modified
CVE-2026-40683 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-40683?
How severe is CVE-2026-40683?
How do I fix CVE-2026-40683?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4065The Smart Slider 3 plugin for WordPress is vulnerable to una…5.4
- CVE-2026-4066The Smart Custom Fields plugin for WordPress is vulnerable t…4.3
- CVE-2026-4067The Ad Short plugin for WordPress is vulnerable to Stored Cr…6.4
- CVE-2026-40677The use of insecure HTTP transport within AMD optional tools…7.7
- CVE-2026-4068The Add Custom Fields to Media plugin for WordPress is vulne…4.3
- CVE-2026-40682XML External Entity (XXE) via Unsanitized Dictionary Parsing…9.1
- CVE-2026-40684In Exim before 4.99.2, on systems using musl libc (not glibc…7.5
- CVE-2026-40685In Exim before 4.99.2, when JSON lookup is enabled, an out-o…9.8
- CVE-2026-40686In Exim before 4.99.2, when utf8 operators are enabled, ther…5.3
- CVE-2026-40687In Exim before 4.99.2, when the SPA authentication driver is…9.1
- CVE-2026-40688An out-of-bounds write vulnerability [CWE-787] vulnerability…7.2
- CVE-2026-4069The Alfie – Feed Plugin plugin for WordPress is vulnerable t…6.1
Are you affected by CVE-2026-40683?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
