{"api_version":"1","generated_at":"2026-04-14T22:38:41+00:00","cve":"CVE-2026-40683","urls":{"html":"https://cve.report/CVE-2026-40683","api":"https://cve.report/api/cve/CVE-2026-40683.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40683","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40683"},"summary":{"title":"CVE-2026-40683","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2026-04-14 20:16:48","updated_at":"2026-04-14 21:16:26"},"problem_types":["CWE-843","CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')"],"metrics":[{"version":"3.1","source":"cve@mitre.org","type":"Secondary","score":"7.7","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","baseScore":7.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"7.7","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","version":"3.1"}}],"references":[{"url":"https://bugs.launchpad.net/keystone/+bug/2141713","name":"https://bugs.launchpad.net/keystone/+bug/2141713","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://bugs.launchpad.net/keystone/+bug/2121152","name":"https://bugs.launchpad.net/keystone/+bug/2121152","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.openwall.com/lists/oss-security/2026/04/14/9","name":"https://www.openwall.com/lists/oss-security/2026/04/14/9","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://review.opendev.org/958205","name":"https://review.opendev.org/958205","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40683","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40683","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"OpenStack","product":"Keystone","version":"affected 8.0.0 25.0.1 semver","platforms":[]},{"source":"CNA","vendor":"OpenStack","product":"Keystone","version":"affected 26.0.0 26.1.1 semver","platforms":[]},{"source":"CNA","vendor":"OpenStack","product":"Keystone","version":"affected 27.0.0 27.0.1 semver","platforms":[]},{"source":"CNA","vendor":"OpenStack","product":"Keystone","version":"affected 28.0.0 28.0.1 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-40683","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-04-14T20:14:37.459439Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-04-14T20:14:44.539Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Keystone","vendor":"OpenStack","versions":[{"lessThan":"25.0.1","status":"affected","version":"8.0.0","versionType":"semver"},{"lessThan":"26.1.1","status":"affected","version":"26.0.0","versionType":"semver"},{"lessThan":"27.0.1","status":"affected","version":"27.0.0","versionType":"semver"},{"lessThan":"28.0.1","status":"affected","version":"28.0.0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*","versionEndExcluding":"25.0.1","versionStartIncluding":"8.0.0","vulnerable":true},{"criteria":"cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*","versionEndExcluding":"26.1.1","versionStartIncluding":"26.0.0","vulnerable":true},{"criteria":"cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*","versionEndExcluding":"27.0.1","versionStartIncluding":"27.0.0","vulnerable":true},{"criteria":"cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*","versionEndExcluding":"28.0.1","versionStartIncluding":"28.0.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-843","description":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-14T20:13:59.629Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"url":"https://bugs.launchpad.net/keystone/+bug/2121152"},{"url":"https://bugs.launchpad.net/keystone/+bug/2141713"},{"url":"https://review.opendev.org/958205"},{"url":"https://www.openwall.com/lists/oss-security/2026/04/14/9"}],"x_generator":{"engine":"CVE-Request-form 0.0.1"}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2026-40683","datePublished":"2026-04-14T20:05:03.274Z","dateReserved":"2026-04-14T20:05:01.861Z","dateUpdated":"2026-04-14T20:14:44.539Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-14 20:16:48","lastModifiedDate":"2026-04-14 21:16:26","problem_types":["CWE-843","CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')"],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","baseScore":7.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.3}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"40683","Ordinal":"1","Title":"CVE-2026-40683","CVE":"CVE-2026-40683","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"40683","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2026-40683"}]}}}