CVE catalog

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 _l

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.34% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiankeystonesid2:30.0.0-3fixed
Debiankeystoneforky2:30.0.0-3fixed
Debiankeystonetrixie2:27.0.0-3+deb13u5fixed
Debiankeystonetrixie-security2:27.0.0-3+deb13u6fixed
Debiankeystonebookworm2:22.0.2-0+deb12u3fixed
Debiankeystonebookworm-security2:22.0.2-0+deb12u6fixed
CpekeystoneNot reported2:25.0.0-0ubuntu1.4fixed
Cpekeystone-commonNot reported2:25.0.0-0ubuntu1.4fixed
Cpekeystone-docNot reported2:25.0.0-0ubuntu1.4fixed
Cpepython3-keystoneNot reported2:25.0.0-0ubuntu1.4fixed
Ubuntukeystonepro2:16.0.0-0ubuntu1vulnerable
Ubuntukeystonepro2:17.0.0~b1~git2019121613.db81fee63-0ubuntu1vulnerable
Ubuntukeystonepro2:17.0.0~b2~git2020020513.99733f172-0ubuntu1vulnerable
Ubuntukeystonepro2:17.0.0~b3~git2020032415.9f9040257-0ubuntu1vulnerable
Ubuntukeystonepro2:17.0.0~b3~git2020032415.9f9040257-0ubuntu2vulnerable
Ubuntukeystonepro2:17.0.0~b3~git2020041013.7bb6314e4-0ubuntu1vulnerable
Ubuntukeystonepro2:17.0.0-0ubuntu0.20.04.1vulnerable
Ubuntukeystonepro2:17.0.1-0ubuntu1vulnerable
Ubuntukeystonepro2:17.0.1-0ubuntu2vulnerable
Ubuntukeystonepro2:17.0.1-0ubuntu2+esm1vulnerable
Ubuntukeystonepro2:17.0.1-0ubuntu2+esm2vulnerable
Ubuntukeystone22.042:20.0.0-0ubuntu1vulnerable
Ubuntukeystone22.042:20.0.0+git2021120815.2ddf8f321-0ubuntu1vulnerable
Ubuntukeystone22.042:20.0.0+git2022011217.771c943ad-0ubuntu1vulnerable
Ubuntukeystone22.042:20.0.0+git2022030313.a3fc9e7c3-0ubuntu1vulnerable
Ubuntukeystone22.042:21.0.0-0ubuntu1vulnerable
Ubuntukeystone22.042:21.0.1-0ubuntu1vulnerable
Ubuntukeystone22.042:21.0.1-0ubuntu2vulnerable
Ubuntukeystone22.042:21.0.1-0ubuntu2.1vulnerable
Ubuntukeystone22.042:21.0.1-0ubuntu2.2vulnerable
Ubuntukeystone22.042:21.0.1-0ubuntu2.4fixed
Ubuntukeystone24.042:24.0.0-0ubuntu1vulnerable
Ubuntukeystone24.042:24.0.0+git2024011916.adfa92b4-0ubuntu1vulnerable
Ubuntukeystone24.042:25.0.0~rc1-0ubuntu1vulnerable
Ubuntukeystone24.042:25.0.0-0ubuntu1vulnerable
Ubuntukeystone24.042:25.0.0-0ubuntu1.1vulnerable
Ubuntukeystone24.042:25.0.0-0ubuntu1.2vulnerable
Ubuntukeystone24.042:25.0.0-0ubuntu1.4fixed
Ubuntukeystone25.102:27.0.0-0ubuntu1vulnerable
Ubuntukeystone25.102:27.0.0+git2025080113.e066e18ab-0ubuntu1vulnerable
Ubuntukeystone25.102:28.0.0~rc1-0ubuntu1vulnerable
Ubuntukeystone25.102:28.0.0-0ubuntu1vulnerable
Ubuntukeystone25.102:28.0.0-0ubuntu1.1vulnerable
Ubuntukeystone25.102:28.0.0-0ubuntu1.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiankeystonesourcesid2:29.0.0~rc1-2not yet assignedNot reported[1133884]
Debiankeystonesourceforky2:29.0.0~rc1-2not yet assignedNot reported[1133884]
Debiankeystonesourcetrixie2:27.0.0-3+deb13u3not yet assignedNot reported[1133884]
Debiankeystonesourcebookworm2:22.0.2-0+deb12u2not yet assignedNot reported[1133884]
CpekeystonecpeNot reported2:25.0.0-0ubuntu1.4Not reportedNot reportedNot reported
Cpekeystone-commoncpeNot reported2:25.0.0-0ubuntu1.4Not reportedNot reportedNot reported
Cpekeystone-doccpeNot reported2:25.0.0-0ubuntu1.4Not reportedNot reportedNot reported
Cpepython3-keystonecpeNot reported2:25.0.0-0ubuntu1.4Not reportedNot reportedNot reported
Ubuntukeystonedeb22.042:21.0.1-0ubuntu2.4Not reportedUBUNTU-CVE-2026-40683Not reported
Ubuntukeystonedeb24.042:25.0.0-0ubuntu1.4Not reportedUBUNTU-CVE-2026-40683Not reported
Ubuntukeystonedeb25.102:28.0.0-0ubuntu1.3Not reportedUBUNTU-CVE-2026-40683Not reported

[Debian bug #1133884]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [keystone]Fixed
    Details (4)
    • 2:22.0.2-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

  • Source package: [keystone]

    Details (4)
    • 2:22.0.2-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

  • Source package: [keystone]

    Details (4)
    • 2:22.0.2-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

    • 2:22.0.2-0+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2:22.0.2-0+deb12u2

      nvd · keystone · debian · bookworm; nvd · keystone · debian · 12

[Debian 13 (Trixie)]

  • [keystone]Fixed
    Details (6)
    • 2:27.0.0-3+deb13u4 · all · trixie

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie-security

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie-security · Historical version

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u5 · all · trixie-security · Historical version

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u6 · all · trixie-security

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

  • Source package: [keystone]

    Details (6)
    • 2:27.0.0-3+deb13u4 · all · trixie

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie-security

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie-security · Historical version

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u5 · all · trixie-security · Historical version

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u6 · all · trixie-security

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

  • Source package: [keystone]

    Details (6)
    • 2:27.0.0-3+deb13u4 · all · trixie

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie-security

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u4 · all · trixie-security · Historical version

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u5 · all · trixie-security · Historical version

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

    • 2:27.0.0-3+deb13u6 · all · trixie-security

      Fixed · Fixed: 2:27.0.0-3+deb13u3

      nvd · keystone · debian · 13

Observed:

References