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

- Severity: Medium 4.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-29T06:22:11.871Z
- Modified: 2026-11-06T06:24:12.242Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- keycloak-services: no versions given
- rhbk/keycloak-rhel9: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-118030> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2562005> (issue-tracking)

## Sources

- CVE List: [CVE-2026-118030](https://www.cve.org/CVERecord?id=CVE-2026-118030), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-118030](https://nvd.nist.gov/vuln/detail/CVE-2026-118030), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-118030 · Whole record: https://cve.day/CVE-2026-118030.json · Rebuilt by cve.day 2026-11-25T22:59:47.723Z
