CVE-2026-90997 PUBLISHED

Keycloak: Replay protection bypass leads to unauthorized access via database driver semantics mismatch

Assigner: redhat
Reserved: 14.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS Score: 7.4

Product Status

Vendor Keycloak
Product Keycloak
Versions Default: unaffected
  • affected from 26.7.0 to 26.7.4 (excl.)

References

Problem Types

  • CWE-294 Authentication Bypass by Capture-replay CWE