CVEfocus › CVE database › CVE-2026-40683

CVE-2026-40683

CVSS 7.7 HighEPSS 0.4% (higher than 25% of CVEs)Published 2026-04-14Updated 2026-08-05Assigner: mitre

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.

CWE-843

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
3Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04keystoneNot affected
vulnerable_code_not_present
Ubuntu 25.10keystoneFixed2:28.0.0-0ubuntu1.3UBUNTU-CVE-2026-40683
Ubuntu 24.04keystoneFixed2:25.0.0-0ubuntu1.4UBUNTU-CVE-2026-40683
Ubuntu 22.04keystoneFixed2:21.0.1-0ubuntu2.4UBUNTU-CVE-2026-40683
Ubuntu 20.04keystoneFix pendingUBUNTU-CVE-2026-40683
Ubuntu 18.04keystoneFix pendingUBUNTU-CVE-2026-40683
Ubuntu 16.04keystoneFix pendingUBUNTU-CVE-2026-40683
Debian 14keystoneFixed2:29.0.0~rc1-2DEBIAN-CVE-2026-40683
Debian 13keystoneFixed2:27.0.0-3+deb13u3DEBIAN-CVE-2026-40683
Debian 12keystoneFixed2:22.0.2-0+deb12u2DEBIAN-CVE-2026-40683
PyPI librarykeystoneFixed28.0.1PYSEC-2026-2550

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.