Bug 2555463 (CVE-2026-112201) - CVE-2026-112201 keycloak-services: keycloak-services: Login-failure upsert trusts MySQL/MariaDB affected-row count
Summary: CVE-2026-112201 keycloak-services: keycloak-services: Login-failure upsert tr...
Keywords:
Status: NEW
Alias: CVE-2026-112201
Deadline: 2027-01-17
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-19 10:02 UTC by OSIDB Bzimport
Modified: 2026-11-11 10:59 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-19 10:02:03 UTC
A flaw was found in the org.keycloak.models.jpa package of Keycloak. The login-failure store contains a defect in its upsert logic that manifests when using MySQL or MariaDB. The issue occurs due to the way these databases report affected-row counts during concurrent transactions. In a multi-node deployment, if two unauthenticated users submit the first failed login attempt for the same account simultaneously, a race condition can trigger an infinite retry loop in one node. This loop persists until a transaction timeout occurs, during which time a database row lock is held.
Successful exploitation allows an unauthenticated remote attacker to:
Cause a temporary Denial of Service for specific user accounts by blocking all subsequent authentication requests until the database lock wait timeout expires.

Partially evade brute-force protection mechanisms, as failed attempts occurring during the race condition may not be recorded in the audit log.


Note You need to log in before you can comment on or make changes to this bug.