VDB

CVE-2026-40683

CVE-2026-40683 PUBLISHED CVSS 7.7 HIGH

OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean

Reported by mitre · Published April 14, 2026

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.

Risk scores

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

Affected products

VendorProductVersions
OpenStackKeystone8.0.0, 26.0.0, 27.0.0
openstackkeystone27.0.0, 28.0.0, 8.0.0
chainguardopenstack-keystone-2025.1-fips*
OpenStackKeystone8.0.0, 26.0.0, 27.0.0
chainguardopenstack-keystone-2025.1*
PyPIkeystone0

Timeline

  • Apr 14, 2026 CVE Published
  • Apr 14, 2026 PoC Published
  • Apr 15, 2026 EPSS Score (30 in total, the first dated here)
  • Apr 15, 2026 Security Advisory (3 in total, the first dated here)
  • Jul 3, 2026 Coalition ESS Score
  • Jul 15, 2026 Distribution Patch (2 in total, the first dated here)
  • Aug 5, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40683
vulnetix vdb fixes CVE-2026-40683

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40683/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›