Keycloak-services: keycloak-services: case-distinct saml nameid allows authentication as another account

State
Published
Severity
Not Scored
Published
Nov 26, 2026
Updated
Dec 1, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

Description

A flaw was found in the SAML identity brokering component of Keycloak. When Keycloak is configured to use a database with case-insensitive collation, it may incorrectly match a SAML subject name to an existing user account if the names differ only by case. This issue allows an attacker to log in as a different user by providing a case-distinct version of a victim's username in a signed SAML assertion, leading to unauthorized account access.

ProductVersions
Red Hat Build of Keycloak Red Hat
Red Hat Build of Keycloak Red Hat
Red Hat Single Sign-On 7 Red Hat
Red Hat Single Sign-On 7 Red Hat

Weaknesses

  • CWE-178 Improper Handling of Case Sensitivity

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.