Incorrect Comparison in Keycloak - CVE-2026-90997
Published: September 18, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to gain unauthorized access to the token endpoint or login flow.
The vulnerability exists due to a mismatch in row-count semantics between the database driver and Keycloak's application logic in Keycloak's replay protection mechanism when processing intercepted single-use security artifacts. A remote attacker can replay an intercepted JWT client assertion, DPoP proof, or one-time password code to gain unauthorized access to the token endpoint or login flow.
Only Keycloak deployments operating in stateless mode with MySQL or MariaDB are affected.