Bug 2584740 (CVE-2026-137435) - CVE-2026-137435 keycloak-services: keycloak-services: Case-distinct SAML NameID allows authentication as another account
Summary: CVE-2026-137435 keycloak-services: keycloak-services: Case-distinct SAML Name...
Keywords:
Status: NEW
Alias: CVE-2026-137435
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-26 11:06 UTC by OSIDB Bzimport
Modified: 2026-11-26 11:06 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-26 11:06:33 UTC
A vulnerability was found in Keycloak where the SAML identity provider brokering mechanism fails to perform a case-sensitive validation of the asserted subject. When a realm brokers logins from a SAML identity provider, Keycloak looks up the federated identity link using a plain database equality query against the FEDERATED_USER_ID column. If the underlying database uses a case-insensitive collation, a signed SAML assertion containing a subject that differs only in case (e.g., Alice vs alice) will resolve to the same federated identity link. Keycloak does not perform a secondary case-sensitive check on the returned value. An attacker can exploit this to obtain a valid access token for a victim's account, effectively bypassing authentication for the intended user.


Note You need to log in before you can comment on or make changes to this bug.