CVE-2026-40683

Aliases:GHSA-pfx2-9x9m-7ghxPYSEC-2026-2550
Advisory lineage Upstream: 0 Downstream: 4
Awaiting Analysis
Published: 14 Apr 2026, 20:05
Last modified:14 Apr 2026, 20:14

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.7 HIGH
v3.1 (cve.org)
EPSS Score
0.32% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Apr 2026, 20:05
Published
Vulnerability first disclosed
14 Apr 2026, 20:14
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1HIGHScore: 7.7CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

EPSS Trends

Current EPSS score: 0.32% Percentile: 23%

Techniques & Countermeasures

  • CWE-843Access of Resource Using Incompatible Type ('Type Confusion')

    The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.

Affected Systems

  • openstackkeystone

    ≥ 8.0.0, < 25.0.1 | ≥ 26.0.0, < 26.1.1 | ≥ 27.0.0, < 27.0.1 | ≥ 28.0.0, < 28.0.1

  • PyPIkeystone

    < 28.0.1

References (8)