Race condition in Keycloak login-failure storage on MySQL and MariaDB
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Keycloak | keycloak-services | 26.8.0 – 26.8.1 | — | No fix listed | CNA |
| Red Hat | Red Hat Build of Keycloak | — | — | Not affected | CNA |
| Red Hat | Red Hat Build of Keycloak | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
- 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
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
- 2026-11-11 Threatist record created from CVE-2026-112201
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
- 2026-11-11 Alias added: GHSA-8xvf-w552-9c68
- 2026-11-12 CISA SSVC decision points changed
References
More Keycloak vulnerabilities
- 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
Sources
- CVE-2026-112201 · CVE Program
- CVE-2026-112201 · NVD
- FIRST EPSS
- GHSA-8xvf-w552-9c68 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-112201 · 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