CVE-2026-137435
Awaiting Analysis Awaiting Analysis - Queue

Keycloak SAML Case-Insensitive Username Spoofing

Vulnerability report for CVE-2026-137435, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-26

Last updated on: 2026-11-26

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-26
Last Modified
2026-11-26
Generated
2026-11-26
AI Q&A
2026-11-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Red Hat Red Hat Build of Keycloak *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-178 The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Keycloak's SAML identity brokering component when using a database with case-insensitive collation. It allows an attacker to log in as another user by providing a case-distinct version of a victim's username in a signed SAML assertion. The system fails to perform case-sensitive validation after the initial lookup, enabling unauthorized access.

Detection Guidance

Check Keycloak logs for SAML authentication attempts with case-distinct usernames. Review database collation settings for the federated identity table to confirm case-insensitive configuration. Use network monitoring tools to inspect SAML assertions for manipulated NameID values.

Impact Analysis

An attacker could impersonate another user by manipulating SAML assertions with case-distinct usernames. This could lead to unauthorized access to sensitive data, privilege escalation, or actions performed under the victim's identity. Exploitation requires a case-insensitive database collation for the federated identity table.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR's data protection principles and HIPAA's access control requirements. Organizations using Keycloak with SAML brokering may face compliance violations if exploited.

Mitigation Strategies

Migrate the federated identity table to a case-sensitive collation. Temporarily disable SAML identity brokering if case-insensitive collation cannot be avoided. Monitor for unauthorized access attempts and revoke suspicious tokens.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137435. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...