Technical impact
A flaw in Keycloak’s SAML identity brokering component causes it to use a case‑insensitive collation when matching a SAML subject name to an existing user account. If the database collation is case‑insensitive, a name that differs only by case can inadvertently match another account, allowing an attacker to impersonate that user by sending a signed SAML assertion with a case‑distinguishable username. This CWE‑178 insufficiently validated data comparison flaw provides unauthorized account access.
Affected Systems
Red Hat Build of Keycloak and Red Hat Single Sign‑On 7 are the affected products. The advisory does not assign specific version numbers; any installation that uses a database with a case‑insensitive collation and enables SAML identity brokering is susceptible.
Risk and Exploitability
The vulnerability is exploitable over the network via crafted SAML assertions; no pre‑existing code or public exploit is required. No official workaround is currently provided, and the issue is not listed in CISA KEV. The EPSS score is not available, so the precise likelihood of exploitation is unknown, but the potential for account hijacking warrants treating the risk as high in environments that rely on SAML integration. The likely attack vector is remote, through any network traffic carrying SAML assertions to the Keycloak service.