Type confusion in OpenStack Keystone
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenStack | Keystone | 8.0.0 to before 25.0.1; 26.0.0 to before 26.1.1; 27.0.0 to before 27.0.1; 28.0.0 to before 28.0.1 | 25.0.1, 26.1.1, 27.0.1, 28.0.1 | Patch available | CNA |
| — | keystone (PyPI) | before 28.0.1 | 28.0.1 | Patch available | GHSA-pfx2-9x9m-7ghx |
- Keystone VendorOpenStack Affected 8.0.0 to before 25.0.1; 26.0.0 to before 26.1.1; 27.0.0 to before 27.0.1; 28.0.0 to before 28.0.1 Fixed in 25.0.1, 26.1.1, 27.0.1, 28.0.1 Patch available CNA
- keystone (PyPI) Vendor— Affected before 28.0.1 Fixed in 28.0.1 Patch available GHSA-pfx2-9x9m-7ghx
Remediation
- Fix · CNA Keystone (OpenStack) Fixed in 25.0.1, 26.1.1, 27.0.1, 28.0.1
- Fix · GHSA-pfx2-9x9m-7ghx keystone (PyPI) Fixed in 28.0.1 Advisory →
Red Hat 1 advisory
- RHSA-2026:39808 Released 2026-07-15 · Red Hat rating ImportantRed Hat OpenStack Services on OpenShift 18.0 (openstack-keystone) security update
- Red Hat OpenStack Services on OpenShift 18.0 openstack-keystone-1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost, python3-keystone-1:23.0.3-18.0.20260610133808.9e3dfb4.el9ost
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix yet |
| Red Hat OpenStack Services on OpenShift 18.0 | Fixed | RHSA-2026:39808 |
Not affected: 3 products
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Red Hat OpenStack Platform 18.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40683
- 2026-10-03 Alias added: GHSA-pfx2-9x9m-7ghx
References
More OpenStack vulnerabilities
- TI-2026-78562 Incorrect authorization in OpenStack Manila share operations CVSS 3.1CRITICAL 9.9
- TI-2026-63467 Code injection in OpenStack Octavia CVSS 4.0CRITICAL 9.4
- TI-2017-13226 The tcpmss_mangle_packet function in net/netfilter/xt_TCPMSS.c in the Linux kernel before… CVSS 3.1CRITICAL 9.8
- TI-2026-69629 OpenStack Mistral flaw lets users change other projects' resources CVSS 4.0HIGH 7.2
- TI-2026-69623 Command injection in OpenStack Mistral std.ssh_proxied action CVSS 4.0HIGH 8.7
- TI-2022-17779 Improper privilege management in OpenStack CVSS 3.1HIGH 8.8
Sources
- CVE-2026-40683 · CVE Program
- CVE-2026-40683 · NVD
- FIRST EPSS
- GHSA-pfx2-9x9m-7ghx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40683 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences