CVE-2026-40683: [OSSA-2026-007] OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean (CVE-2026-40683)

Published Apr 14, 2026
·
Updated

In OpenStack Keystone before 28.0.1, the LDAP identity backend does not convert the user enabled attribute to a boolean when the userenabledinvert configuration option is False (the default). The ldaprestomodel method in the UserApi class only performed string-to-boolean conversion when userenabledinvert 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 userenabledinvert=True or userenabledemulation are affected.

Affected Software

2 affected componentsFixes available
Openstack Keystone<28.0.1
debian/keystone<=2:18.0.0-3+deb11u1, <=2:22.0.2-0+deb12u1, <=2:27.0.0-3+deb13u1
2:18.1.0-1+deb11u32:22.0.2-0+deb12u32:27.0.0-3+deb13u42:29.0.1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/keystone to a version that resolves this vulnerability.

    Fixed in 2:18.1.0-1+deb11u3Fixed in 2:22.0.2-0+deb12u3Fixed in 2:27.0.0-3+deb13u4Fixed in 2:29.0.1-2
  2. Upgrade

    Upgrade OpenStack Keystone to a version that resolves this vulnerability.

    Fixed in 28.0.1Patch OSSA-2026-007
  3. Configuration

    For the LDAP identity backend, set user_enabled_invert=True so Keystone performs string-to-boolean conversion for the LDAP user enabled attribute (mitigates CVE-2026-40683 / OSSA-2026-007 where non-empty LDAP strings like "FALSE" are treated as truthy when the conversion is not performed).

    OpenStack Keystone (UserApi LDAP identity backend) user_enabled_invert = true

Event History

Apr 14, 2026
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
Jun 16, 2026
Data Sourced
via Ubuntu·08:40 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·08:41 PM
Description
Data Sourced
via Debian·08:41 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40683?

CVE-2026-40683 has not been assigned a specific severity rating, but it can lead to unauthorized access due to misconfiguration.

2

How do I fix CVE-2026-40683?

To fix CVE-2026-40683, update OpenStack Keystone to version 28.0.1 or later, where this issue is addressed.

3

Who is affected by CVE-2026-40683?

CVE-2026-40683 affects users of OpenStack Keystone versions prior to 28.0.1 that utilize the LDAP identity backend.

4

What type of vulnerability is CVE-2026-40683?

CVE-2026-40683 is a configuration vulnerability related to the LDAP identity backend in OpenStack Keystone.

5

What is the impact of CVE-2026-40683?

The impact of CVE-2026-40683 may include incorrect handling of user enablement status, potentially allowing unauthorized user access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203