Technical impact
A flaw was found in Keycloak’s login-failure storage component that can be triggered when multiple failed login attempts for the same account occur simultaneously in a multi-node deployment using MySQL or MariaDB. The defect leads to a synchronization error that creates a repetitive loop, locking the user’s database record and preventing any further legitimate login attempts. Because some failures are not correctly recorded during this loop, Keycloak’s brute‑force protection may miscount failed attempts, weakening its security controls.
Affected Systems
The vulnerability affects Keycloak-services as shipped Keycloak, the Red Hat Build of Keycloak, and Red Hat Single Sign-On 7. An affected environment must use MySQL or MariaDB in a multi-node configuration; no specific product versions are listed in the advisory.
Risk and Exploitability
The CVSS score of 4.8 indicates moderate severity. The EPSS score of < 1% suggests a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is remote authentication attempts that a malicious actor can trigger from across the network. An adversary can send a burst of failed logins for a target account to trigger the locking loop, causing a denial of service for that user and potentially bypassing the brute‑force counter. The attack requires only standard authentication traffic and does not need privileged access to the database or application code.