4.8Medium

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

Keycloak keycloak-services; Red Hat Red Hat Build of Keycloak; Red Hat Red Hat Single Sign-On 7 Published: (8 days ago)

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.

Weakness (CWE): CWE-362

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Keycloak keycloak-services 26.8.0 – ≤ 26.8.1
Red Hat Red Hat Build of Keycloak —
Red Hat Red Hat Single Sign-On 7 —

References and patches