Race condition in Keycloak HOTP lets one OTP code log in repeatedly
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The keycloak-services component of Red Hat Build of Keycloak has a race condition in its HOTP authentication. The system checks a one-time password and updates its internal counter in two separate steps without locking, so timing can let one code be accepted more than once. An attacker who has a user's password can use a single one-time code to log in multiple times at the same time.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Red Hat Build of Keycloak. Red Hat rates the flaw Moderate, lists Red Hat Build of Keycloak as affected without a fix, and gives its plan as none available. Red Hat Single Sign-On 7 is not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Keycloak | Affected | No fix yet |
Not affected: 1 product
- Red Hat Single Sign-On 7
Timeline
- 2026-10-29 Threatist record created from CVE-2026-118030
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-29 CVSS score added · Red Hat
- 2026-10-29 Alias added: GHSA-hx7p-ffjf-vx59
- 2026-10-29 CISA SSVC decision points changed
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-118030 · CVE Program
- CVE-2026-118030 · NVD
- FIRST EPSS
- GHSA-hx7p-ffjf-vx59 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-118030 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences