Skip to main content
CVE-2026-40683VulnerabilityPublished Updated

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)

Affects keystoneSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40683· High 7.7

Not known to be exploited · CVSS 7.7 High · fixed in 2:21.0.1-0ubuntu2.4 : patch keystone soon.

Data as of 24 Nov 2026, 20:28 UTC

CVSS 3.1 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2:21.0.1-0ubuntu2.4, 2:25.0.0-0ubuntu1.4, 2:28.0.0-0ubuntu1.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu keystone to 2:21.0.1-0ubuntu2.4 (package) or 2:25.0.0-0ubuntu1.4 (package) or 2:28.0.0-0ubuntu1.3 (package).

Affected software

ProductAffectedFixed in
Ubuntu 25.10keystonepkg:deb/ubuntu/keystone?arch=source&distro=questingOther threatsAffected
  • <2:28.0.0-0ubuntu1.3
  • =2:28.0.0~rc1-0ubuntu1
Fixed in
  • 2:28.0.0-0ubuntu1.3
Ubuntu 24.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=nobleOther threatsAffected
  • <2:25.0.0-0ubuntu1.4
  • =2:25.0.0~rc1-0ubuntu1
Fixed in
  • 2:25.0.0-0ubuntu1.4
Ubuntu 22.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=jammyOther threatsAffected
  • <2:21.0.1-0ubuntu2.4
Fixed in
  • 2:21.0.1-0ubuntu2.4
Ubuntu Pro 20.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2:16.0.0-0ubuntu1 – 2:17.0.1-0ubuntu2+esm2
11 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2:12.0.0-0ubuntu1 – 2:13.0.4-0ubuntu1+esm1
12 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSkeystonepkg:deb/ubuntu/keystone?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 2:8.0.0-0ubuntu1 – 2:9.3.0-0ubuntu3.2+esm2
16 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…