CVE-2026-137435
Keycloak-services: keycloak-services: case-distinct saml nameid allows authentication as another account
Not rated
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| red hat build of keycloak | red hat | — | — | CVE.org |
| red hat single sign-on 7 | red hat | — | — | CVE.org |