Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-40683

Fixed in a distro release EPSS <1%CVSS 7.7

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.

Published 2026-04-14 · CVE record · OSV

Products: OpenStack Keystone

Fixed upstream

EcosystemPackageFixed in
PyPIkeystone28.0.1

Distro releases

ReleasePackageFixed in
Chainguardopenstack-keystone-2025.10
Chainguardopenstack-keystone-2025.1-fips0
Debian 12keystone2:22.0.2-0+deb12u2
Debian 13keystone2:27.0.0-3+deb13u3
Debian 14keystone2:29.0.0~rc1-2
Red Hat openstack 18.0openstack-keystone1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost
Red Hat openstack 18.0python3-keystone1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost
Ubuntu 22.04 LTSkeystone2:21.0.1-0ubuntu2.4
Ubuntu 24.04 LTSkeystone2:25.0.0-0ubuntu1.4
Ubuntu 25.10keystone2:28.0.0-0ubuntu1.3
Ubuntu 26.04 LTSkeystone2:29.0.0-0ubuntu1.2
Ubuntu Pro 16.04 LTSkeystoneno fix
Ubuntu Pro 18.04 LTSkeystoneno fix
Ubuntu Pro 20.04 LTSkeystoneno fix