CVE-2026-137435
published medium CVSS 3.1 · 5.4Keycloak-services: keycloak-services: case-distinct saml nameid allows authentication as another account
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-178 Improper Handling of Case Sensitivity
References
2- https://access.redhat.com/security/cve/CVE-2026-137435
- RHBZ#2584740 https://bugzilla.redhat.com/show_bug.cgi?id=2584740
Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: case-distinct saml nameid allows authentication as another account
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 24d79bf99cc90b67abb2cb7dd48403c58952504cc6e495fd494c50fb3c7f6aec
- Ingested
- 01 Dec 2026, 11:31:48 UTC
- Source record
- Official CVE record