CVE-2026-118030
published medium CVSS 3.1 · 4.2Keycloak-services: keycloak-services: hotp race condition allows single otp code reuse across concurrent logins
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
References
2- https://access.redhat.com/security/cve/CVE-2026-118030
- RHBZ#2562005 https://bugzilla.redhat.com/show_bug.cgi?id=2562005
Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: hotp race condition allows single otp code reuse across concurrent logins
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2abc98d14946cf347b157a9ae3e09bf6a4f064485a2d6ca29cfc6f76817abbc0
- Ingested
- 07 Nov 2026, 23:39:08 UTC
- Source record
- Official CVE record