← Vulnerability feed

Vulnerability record · CVE-2026-40683 · published 14 April 2026

CVE-2026-40683: Type confusion vulnerability

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.

7.7 CVSS 3.1 High EPSS 0.37% · top 71.4% CWE-843 · Type confusion Awaiting Analysis
7.7CVSS 3.1 base score
0.37%EPSS exploitation probability, 30 days
NoNot in CISA KEV
0Affected product versions listed by NVD
5References
5 Aug 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

References

Track CVE-2026-40683 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2026-85046Google Chrome V8 type confusion enables sandboxed remote code executionChrome's V8 JavaScript engine contains a type confusion flaw (CWE-843) fixed in version 152.0.7977.82. A crafted HTML page can trigger the confusion …KEVEPSS 49%analysed7.8CVE-2026-21519Windows Desktop Window Manager type confusion privilege escalationThe Windows Desktop Window Manager (DWM) mishandles a resource using an incompatible type, a type confusion (CWE-843). A local attacker who already h…KEVEPSS 2.5%analysed8.8CVE-2025-13223Google Chrome V8 type confusion allows heap corruptionGoogle Chrome before 142.0.7444.175 contains a type confusion flaw in the V8 JavaScript engine. A crafted HTML page can trigger the confusion and pot…KEVEPSS 5.0%analysed9.8CVE-2025-10585Google Chrome V8 type confusion enables heap corruptionChrome's V8 JavaScript engine contains a type confusion flaw (CWE-843) that can lead to heap corruption when processing a crafted HTML page. It affec…KEVEPSS 5.4%analysed8.1CVE-2025-6554Google Chrome V8 type confusion enables arbitrary read/writeChrome before 138.0.7204.96 contains a type confusion flaw in the V8 JavaScript engine. A crafted HTML page can trigger the bug, letting an attacker …KEVEPSS 13%analysed7.5CVE-2025-30397Microsoft Scripting Engine type confusion allows remote code executionA type confusion flaw in the Microsoft Scripting Engine lets an unauthorized attacker execute code over a network. It affects a broad range of Window…KEVEPSS 27%analysed9.6CVE-2024-7971Google Chrome V8 type confusion enables heap corruptionChrome's V8 JavaScript engine contains a type confusion flaw (CWE-843) that lets a crafted HTML page corrupt the heap. It affects Chrome before 128.0…KEVEPSS 21%analysed7.5CVE-2024-38178Microsoft Windows Scripting Engine type confusion memory corruptionCVE-2024-38178 is a memory corruption flaw in the Microsoft Windows Scripting Engine, classified as a type confusion (CWE-843). It affects a broad se…KEVEPSS 41%analysed

Source: NIST National Vulnerability Database (record CVE-2026-40683), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.