{"id":"CVE-2026-118030","aliases":["EUVD-2026-112640","GHSA-hx7p-ffjf-vx59"],"status":"published","title":"Keycloak-services: keycloak-services: hotp race condition allows single otp code reuse across concurrent logins","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.","severity":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00163,"percentile":0.0555,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-362"],"published":"2026-10-29T06:22:11Z","modified":"2026-11-06T06:24:12Z","products":[{"vendor":"red hat","product":"red hat build of keycloak"},{"vendor":"red hat","product":"red hat single sign-on 7"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-118030","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562005","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118030"},{"url":"https://github.com/advisories/GHSA-hx7p-ffjf-vx59"}],"sources":{"cve":[{"id":"CVE-2026-118030","title":"Keycloak-services: keycloak-services: hotp race condition allows single otp code reuse across concurrent logins","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.","status":"published","published":"2026-10-29T06:22:11.871Z","modified":"2026-11-06T06:24:12.242Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-362"],"updated_at":"2026-11-06T07:27:10.786819Z"}],"euvd":[{"id":"EUVD-2026-112640","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.","status":"published","published":"2026-10-29T06:22:11Z","modified":"2026-11-06T06:24:12Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-06T07:03:59.398768Z"}],"ghsa":[{"id":"GHSA-hx7p-ffjf-vx59","title":"A flaw was found in the HOTP authentication mechanism of the keycloak-services component, which...","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.","status":"published","published":"2026-10-29T09:31:27Z","modified":"2026-10-29T09:31:35Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:14:37.567324Z"}],"nvd":[{"id":"CVE-2026-118030","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.","status":"published","published":"2026-10-29T07:16:44.99Z","modified":"2026-10-29T15:17:20.68Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:13:04.6346Z"}]}}
