CVE-2026-90997 Security feature bypass in Keycloak

High 7.4 Published Updated

Attackers can bypass replay protection in stateless Keycloak deployments with MySQL/MariaDB to replay security artifacts and gain unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-90997?

CVE-2026-90997 is a high-severity vulnerability in Keycloak, published on 17 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-294

Which versions are affected by CVE-2026-90997?

How do I fix CVE-2026-90997?

No fix has been published for CVE-2026-90997 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-90997 being exploited?

There is no known exploitation of CVE-2026-90997 in the wild and no public exploit code.

Sources

Is CVE-2026-90997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free