CVEsRed HatCVE-2026-118030Published Oct 29, 06:22 · Updated Oct 29, 14:18 UTC
4.2
MediumCVSS 3.1 · from redhat
CVE-2026-118030

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

keycloak-services · Race condition · CWE-362
Affectedkeycloak-services, rhbk/keycloak-rhel9, keycloak-services
FixNo fix listed yet.
PublishedOct 29, 06:22 · redhat
ScoredOct 29 · 4.2 · redhat
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:09 UTC

What we know

No known exploitation. CISA KEV, checked 22:09 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs network access and an account. CVSS: network, low privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.

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.

From redhat

Affected and fixed versions

ProductAffectedFixed inkeycloak-servicesall versions–rhbk/keycloak-rhel9all versions–keycloak-servicesnot stated–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

access.redhat.com/security/cve/CVE-2026-118030 · access.redhat.comvdb entryrefsource_REDHATRHBZ#2562005 · bugzilla.redhat.comissue trackingrefsource_REDHAT

Other CVEs in keycloak-services

All 42 →
5.4Keycloak-services: keycloak-services: required actions bypassed via kc_action parameter · CVE-2026-118959Oct 304.3Keycloak-services: keycloak-services: authorization bypass via uma resource registration idor · CVE-2026-118947Oct 306.8Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback · CVE-2026-118425Oct 29