CVE-2026-118030
JSON

4.2medium

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

Severity
4.2medium CVSS:3.1 by redhat
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
keycloak-servicesNot specifiedCVE List
rhbk/keycloak-rhel9Not specifiedCVE List

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-118030 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-118030 changed 2026-10-29Public domain