CVE-2026-112201

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

Published Nov 11, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Apply the vendor-supplied patch or upgrade to a version of Keycloak that contains the fix
  • Implement rate-limiting or throttling on authentication requests to prevent simultaneous failure bursts on the same account
  • Set up monitoring of user-Account lock status and review audit logs for repeated lockout incidents

Generated by OpenCVE AI on November 13, 2026 at 03:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Keycloak
Keycloak keycloak-services
Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Keycloak
Keycloak keycloak-services
Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
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.
Title Keycloak-services: keycloak-services: login-failure upsert trusts mysql/mariadb affected-row count
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-362
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 12, 2026, 3:57 PM
Reserved
Oct 19, 2026, 10:01 AM
Status
Awaiting Analysis
Published
Nov 11, 2026, 1:17 PM
Modified
Nov 12, 2026, 4:17 PM
Severity
Moderate
Public date
Nov 10, 2026, 12:00 AM