ADVISORIES

Vulnerability

CVE-2026-40683

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.

11 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-5wv3-8wxm-6v7w
    CVE-2026-40683 Chainguard Updated 5 November 2026
  • CGA-6354-v77w-7jcm
    CVE-2026-40683 Chainguard Updated 5 November 2026
  • CGA-hmxm-ffx4-jw6g
    CVE-2026-40683 Chainguard Updated 5 November 2026
  • CGA-v3wp-29v5-fg5x
    CVE-2026-40683 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-40683

    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…

    CVE-2026-40683 Debian Updated 1 October 2026
  • DLA-4611-1

    keystone - security update

    CVE-2026-33551CVE-2026-40683CVE-2026-42998CVE-2026-42999 Debian Updated 20 November 2026
  • GHSA-pfx2-9x9m-7ghx

    OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean

    High CVE-2026-40683 PyPI Updated 10 September 2026
  • PYSEC-2026-2550

    OpenStack Keystone: LDAP identity backend does not convert enabled attribute to boolean

    CVE-2026-40683 PyPI Updated 13 July 2026
  • RHSA-2026:39808

    Red Hat Security Advisory: Red Hat OpenStack Services on OpenShift 18.0 (openstack-keystone) security update

    CVE-2026-33551CVE-2026-40683CVE-2026-43001 Red Hat Updated 13 November 2026
  • UBUNTU-CVE-2026-40683

    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…

    CVE-2026-40683 Ubuntu Updated 30 September 2026
  • USN-8433-1

    keystone vulnerabilities

    Ubuntu Updated 30 June 2026

References