CVE-2026-90997

Keycloak-services: keycloak: replay protection bypass leads to unauthorized access via database driver semantics mismatch

State
Published
Severity
7.4 High
Published
Sep 17, 2026
Updated
Sep 25, 2026
Reserved
Sep 14, 2026

Read the record on cve.org

Description

A flaw was found in Keycloak. When deployed in stateless mode with MySQL or MariaDB, a mismatch in row-count semantics between the database driver and Keycloak's application logic allows an attacker to bypass replay protection. This vulnerability enables an attacker who intercepts single-use security artifacts, such as JWT client assertions, DPoP proofs, or one-time password (TOTP) codes, to replay them. Successful exploitation grants unauthorized access to the token endpoint or login flow.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-294 Authentication Bypass by Capture-replay

Affected Products

ProductVersions
KeycloakKeycloak
  • 26.7.0 to before 26.7.4Affected
Red Hat Build of KeycloakRed Hat
    Red Hat Build of KeycloakRed Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.