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.
Published: 2026-10-29
Score: 4.2 Medium
EPSS: n/a
KEV: No
Impact: Concurrent OTP reuse
Action: Assess Impact
AI Analysis

Impact

The flaw resides in the HOTP authentication routine of the keycloak‑services component. Because the OTP validation and internal counter increment occur as two separate steps without synchronization, a race condition can be exploited. An attacker who gains a user’s password can time the authentication requests so that the same one‑time password is accepted in multiple concurrent sessions, effectively bypassing the intended counter check. Based on the description, it is inferred that the attack vector involves exploiting the authentication service’s timing gap with valid user credentials. This weakness corresponds to CWE‑362.

Affected Systems

The affected products listed by Red Hat are the Red Hat Build of Keycloak and the Red Hat Single Sign‑On 7 platform. Version information is not explicitly stated in the advisory, so any installation of these products at the time of the CVE report is potentially impacted.

Risk and Exploitability

The CVSS score is 4.2, indicating a moderate impact. The EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog. Exploitation requires possession of a user’s credentials and manipulation of the authentication flow; the attacker initiates multiple login attempts in parallel to trigger the race window. Because no public exploit code exists and no official mitigation has been released yet, the likelihood of widespread exploitation remains unclear but should be monitored.

Generated by OpenCVE AI on October 29, 2026 at 07:50 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Monitor Red Hat Security advisories and upgrade keycloak‑services to the patched release as soon as it becomes available.
  • Limit or disable HOTP authentication for critical applications, or enforce per-user session limits in Keycloak to reduce the window for concurrent exploitation.
  • Enable comprehensive authentication audit logging and review logs for repeated use of the same OTP during overlapping session windows to detect potential abuse.

Generated by OpenCVE AI on October 29, 2026 at 07:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
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.
Title Keycloak-services: keycloak-services: hotp race condition allows single otp code reuse across concurrent logins
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-362
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Redhat Build Keycloak Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-29T06:22:11.871Z

Reserved: 2026-10-27T14:17:43.932Z

Link: CVE-2026-118030

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-29T07:16:44.990

Modified: 2026-10-29T07:16:45.103

Link: CVE-2026-118030

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T08:00:17Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')