{"cve":"CVE-2026-40683","nvd":{"published":"2026-04-14T20:16:48.203","modified":"2026-08-05T19:17:29.843","status":"Awaiting Analysis","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","score":7.7},"cwes":["CWE-843"],"references":["https://bugs.launchpad.net/keystone/+bug/2121152","https://bugs.launchpad.net/keystone/+bug/2141713","https://review.opendev.org/958205","https://www.openwall.com/lists/oss-security/2026/04/14/9","http://www.openwall.com/lists/oss-security/2026/08/05/17"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:30:49.762551342+00:00"},"epss":{"cve":"CVE-2026-40683","score":0.00337,"percentile":0.27163,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-pfx2-9x9m-7ghx","url":"https://osv.dev/vulnerability/GHSA-pfx2-9x9m-7ghx","summary":"OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean","modified":"2026-09-10T03:51:02.522960593Z","packages":[{"ecosystem":"PyPI","name":"keystone","purl":"pkg:pypi/keystone","ranges":["<28.0.1"],"fixed":["28.0.1"]}]},{"id":"PYSEC-2026-2550","url":"https://osv.dev/vulnerability/PYSEC-2026-2550","summary":"OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean","modified":"2026-07-13T16:32:01.182376150Z","packages":[{"ecosystem":"PyPI","name":"keystone","purl":"pkg:pypi/keystone","ranges":["<28.0.1"],"fixed":["28.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}