Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-137435

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

Published 26/11/2026 · Updated 26/11/2026 · Red Hat Build of Keycloak

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.

Vendor workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat 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

Weakness type (CWE)

  • CWE-178 Improper Handling of Case Sensitivity

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.