Read the docs

Race condition in Keycloak login-failure storage on MySQL and MariaDB

Priority LOW 22CWE-362Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Keycloak keycloak-services from 26.8.0 through 26.8.1 has a race condition (CWE-362) in its login-failure storage when deployed with MySQL or MariaDB in a multi-node configuration. When multiple failed logins for the same account occur at the same time, a synchronization error can put the user's database record into a repetitive loop that locks it. An unauthenticated remote attacker can trigger this with high attack complexity, which blocks legitimate logins for that user and can cause some failed attempts to go uncounted by brute-force protection.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

A flaw was found in the login-failure storage component of Keycloak, the identity and access management solution. This issue specifically affects deployments using MySQL or MariaDB databases in a multi-node configuration. When multiple failed login attempts occur simultaneously for the same account, a synchronization error can cause the system to enter a repetitive loop that locks the user's record in the database. This results in legitimate login attempts for that user being blocked and failing with an error. Furthermore, because some failures are not correctly recorded during this loop, the system's brute-force protection may not accurately count all failed attempts.

Why it matters now

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

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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
Keycloakkeycloak-services26.8.0 – 26.8.1—No fix listedCNA
Red HatRed Hat Build of Keycloak——Not affectedCNA
Red HatRed Hat Build of Keycloak——Not affectedCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
  • keycloak-services VendorKeycloak Affected 26.8.0 – 26.8.1 Fixed in — No fix listed CNA
  • Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Build of Keycloak 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 keycloak-services. The sources list Red Hat Build of Keycloak and Red Hat Single Sign-On 7 as not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 2 products
  • Red Hat Build of Keycloak
  • Red Hat Single Sign-On 7

Timeline

  1. 2026-11-11 Threatist record created from CVE-2026-112201
  2. 2026-11-11 Affected versions changed · Red Hat
  3. 2026-11-11 CVSS score added · Red Hat
  4. 2026-11-11 Alias added: GHSA-8xvf-w552-9c68
  5. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
  • TI-2017-05120 It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens… CVSS 3.0CRITICAL 9.8
  • TI-2017-08952 Weak password recovery in Red Hat Keycloak CVSS 3.0HIGH 8.8
  • TI-2014-03024 The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak… CVSS 3.0HIGH 8.8
  • TI-2026-01295 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users CVSS 3.1HIGH 8.1
  • TI-2017-08950 Insufficient session expiration in Red Hat keycloak CVSS 3.0HIGH 7.5
See all 22 →

Sources