CVE-2026-137435

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

Published Nov 26, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Keycloak-services: keycloak-services: case-distinct saml nameid allows authentication as another account
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-178
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 26, 2026, 11:35 AM
Reserved
Nov 26, 2026, 11:06 AM
Status
Awaiting Analysis
Published
Nov 26, 2026, 12:17 PM
Modified
Nov 26, 2026, 12:17 PM