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

State
Published
Severity
4.8 Medium
Published
Nov 11, 2026
Updated
Nov 12, 2026
Reserved
Oct 19, 2026

Read the record on cve.org

Description

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.

ProductVersions
keycloak-services Keycloak26.8.0 through 26.8.1 Affected
Red Hat Build of Keycloak Red Hat
Red Hat Build of Keycloak Red Hat
Red Hat Single Sign-On 7 Red Hat

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.