
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40683 is an authentication bypass vulnerability in OpenStack Keystone's LDAP identity backend, classified as High severity. The flaw causes disabled LDAP user accounts to be treated as enabled, allowing them to authenticate and perform actions within OpenStack. It affects Keystone versions >=8.0.0 <25.0.1, >=26.0.0 <26.1.1, >=27.0.0 <27.0.1, and >=28.0.0 <28.0.1. The vulnerability was publicly disclosed on April 14, 2026, with a CVE request filed with MITRE on April 10, 2026. It carries a CVSS v3.1 base score of 7.7 (High) (GitHub Advisory, oss-security).
The root cause is a type confusion flaw (CWE-843) in the _ldap_res_to_model method of the UserApi class within Keystone's LDAP backend. When the user_enabled_invert configuration option is False (the default), the method skips string-to-boolean conversion and passes the raw LDAP attribute value (e.g., the string "FALSE") directly to Python's truthiness evaluation. Since any non-empty string is truthy in Python, a user whose LDAP enabled attribute is set to "FALSE" is incorrectly evaluated as enabled by Keystone. Only deployments using the LDAP identity backend without user_enabled_invert=True or user_enabled_emulation are affected; the bug was independently reported by Benedikt Trefzer (Cirrax GmbH) and Andrew Bogott (Wikimedia Foundation) (oss-security, GitHub Advisory).
Successful exploitation allows disabled or revoked LDAP user accounts to authenticate to Keystone and perform privileged actions across connected OpenStack services, effectively bypassing access revocation controls. This creates significant risk for organizations relying on LDAP-based identity management, as terminated employees, compromised accounts, or intentionally revoked users retain full system access. The impact spans confidentiality (unauthorized data access), integrity (unauthorized modifications), and availability (potential service disruption), with scope extending beyond Keystone itself to all OpenStack services accessible via the compromised identity (GitHub Advisory, oss-security).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability requires the attacker to already possess valid LDAP credentials for a disabled account (low privileges required), and attack complexity is rated High due to the specific configuration dependency. The EPSS score is approximately 0.021% (6th percentile), indicating a low near-term exploitation probability. The CVE is not currently listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory).
user_enabled_invert=False) and does not use user_enabled_emulation.POST /v3/auth/tokens) using the disabled account's credentials. Due to the type confusion bug, Keystone evaluates the raw LDAP string "FALSE" as truthy and grants a valid token.keystone.log authentication events against LDAP directory status for each authenticating user.The primary remediation is to upgrade OpenStack Keystone to a patched version: 28.0.1, 27.0.1, 26.1.1, or 25.0.1 depending on the supported release line in use. The fix is also included in the gazpacho (29.0.0) release. For deployments unable to patch immediately, two workarounds are available: (1) set user_enabled_invert=True in the LDAP backend configuration and use an LDAP attribute with inverted semantics such as nsAccountLock, or (2) enable user_enabled_emulation to use group-based enabled status. After patching, administrators should audit LDAP access logs for authentication attempts from disabled accounts and review connected OpenStack services for unauthorized actions (oss-security, GitHub Advisory).
The vulnerability was disclosed via the OpenStack Vulnerability Management Team (OSSA-2026-007) by Goutham Pacha Ravi on the oss-security mailing list on April 14, 2026. Credit was given to Benedikt Trefzer (Cirrax GmbH), Andrew Bogott (Wikimedia Foundation), and Grzegorz Grasza (Red Hat) for independent discovery and remediation contributions. Debian issued a security advisory (DLA-4611-1 and DSA-6331-1) for the keystone package in June 2026, and Tenable published Nessus detection plugins for the vulnerability (oss-security, Debian LTS).
Fix availability across major Linux distributions and their releases.
bookworm
keystone: 2:22.0.2-0+deb12u2
sid
keystone: 2:29.0.0~rc1-2
trixie
keystone: 2:27.0.0-3+deb13u3
bionic (esm-infra)
keystone
devel
keystone
focal (esm-infra)
keystone
jammy
keystone: 2:21.0.1-0ubuntu2.4
noble
keystone: 2:25.0.0-0ubuntu1.4
questing
keystone: 2:28.0.0-0ubuntu1.3
resolute
keystone
xenial (esm-infra-legacy)
keystone
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."