4.2Medium

CVE-2026-118030Keycloak-services: keycloak-services: hotp race condition allows single otp code reuse across concurrent logins

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

Description

A flaw was found in the HOTP authentication mechanism of the keycloak-services component, which provides identity and access management services. The issue occurs because the system validates a one-time password and updates its internal counter in two separate steps without proper locking. An attacker with a users password could exploit this timing gap to use a single one-time code to log in multiple times simultaneously.

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
Red Hat Red Hat Build of Keycloak all versions
Red Hat Red Hat Single Sign-On 7 —

References and patches