Read the docs

Keycloak SAML subject matching ignores case, allowing login as others

Priority LOW 30CWE-178Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00255 10th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Build of Keycloak——No fix listedCNA
Red HatRed Hat Build of Keycloak——No fix listedCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
  • 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

CPE names CNA · 2

CPEVersionsRoleVendor
cpe:/a:redhat:build_keycloak:——Red Hat
cpe:/a:redhat:red_hat_single_sign_on:77—Red Hat
  • cpe:/a:redhat:build_keycloak: Versions — — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7 Versions 7 — ·Red Hat

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 →

ProductStatusPlan or fix
Red Hat Build of KeycloakAffectedNo fix yet
Not affected: 1 product
  • Red Hat Single Sign-On 7

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137435
  2. 2026-11-26 Affected versions changed · Red Hat
  3. 2026-11-27 Alias added: GHSA-hqjg-c5vj-6xwx
  4. 2026-12-01 CISA SSVC decision points changed
  5. 2026-12-01 CVSS score added · CISA ADP

References

  • 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
See all 7600 →

Sources