Access of Resource Using Incompatible Type ('Type Confusion') Affecting keystone package, versions <2:27.0.0-3+deb13u3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.34% (27th 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 IDSNYK-DEBIAN13-KEYSTONE-16082622
  • published16 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?

Upgrade Debian:13 keystone to version 2:27.0.0-3+deb13u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keystone package and not the keystone package as distributed by Debian. See How to fix? for Debian:13 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