Live threats

All CVEs / OpenStack

CVE-2026-40683OpenStack Keystone

High 7.7

Priority
46
CVSS 3.1
7.7
EPSS
—
Auth required
Yes
Published
Apr 14, 2026
Updated
Aug 5, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-843
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keystone.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI keystone < 28.0.1 28.0.1 pip install "keystone>=28.0.1"
PyPI keystone < 28.0.1 28.0.1 pip install "keystone>=28.0.1"

Per OSV / GitHub Advisories (GHSA-pfx2-9x9m-7ghx, PYSEC-2026-2550). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.