Access of Resource Using Incompatible Type ('Type Confusion') Affecting rhosp13/openstack-keystone package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RHOSP13OPENSTACKKEYSTONE-16098260
  • published17 Apr 2026
  • disclosed14 Apr 2026

Introduced: 14 Apr 2026

CVE-2026-40683  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rhosp13/openstack-keystone.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rhosp13/openstack-keystone package and not the rhosp13/openstack-keystone package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1