Keycloak SAML subject matching ignores case, allowing login as others
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
Red Hat Build of Keycloak is affected in its SAML identity brokering component. When the database uses a case-insensitive collation, Keycloak may match a SAML subject name to an existing account whose name differs only by case, due to improper handling of case sensitivity (CWE-178). An attacker who supplies a case-distinct version of a victim's username in a signed SAML assertion can log in as that other user.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | — | — | No fix listed | CNA |
| Red Hat | Red Hat Build of Keycloak | — | — | No fix listed | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
- Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
Remediation
The sources list no fixed version for Red Hat Build of Keycloak. Red Hat rates the flaw Moderate and lists no fix plan for Red Hat Build of Keycloak. Red Hat lists Red Hat Single Sign-On 7 as not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Keycloak | Affected | No fix yet |
Not affected: 1 product
- Red Hat Single Sign-On 7
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137435
- 2026-11-26 Affected versions changed · Red Hat
- 2026-11-27 Alias added: GHSA-hqjg-c5vj-6xwx
- 2026-12-01 CISA SSVC decision points changed
- 2026-12-01 CVSS score added · CISA ADP
References
More Red Hat vulnerabilities
- TI-2019-15875 Sandbox bypass in Jenkins Pipeline: Groovy Plugin runs code KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Sandbox bypass in Jenkins Script Security Plugin allows code execution KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Arbitrary code execution in Kibana Timelion visualizer KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in OpenSLP in VMware ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-137435 · CVE Program
- CVE-2026-137435 · NVD
- FIRST EPSS
- GHSA-hqjg-c5vj-6xwx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-137435 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences