CVE-2026-112201 PUBLISHED

Keycloak-services: keycloak-services: login-failure upsert trusts mysql/mariadb affected-row count

Assigner: redhat
Reserved: 19.10.2026 Published: 11.11.2026 Updated: 12.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
CVSS Score: 4.8

Product Status

Vendor Keycloak
Product keycloak-services
Versions Default: unaffected
  • affected from 26.8.0 to 26.8.1 (incl.)
Vendor Red Hat
Product Red Hat Build of Keycloak
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Build of Keycloak
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Single Sign-On 7
Versions Default: unaffected

Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Credits

  • Red Hat would like to thank Semih Doğan for reporting this issue.

References

Problem Types

  • Concurrent Execution using Shared Resource with Improper Synchronization CWE