Intel

AIKIDO-2026-231234

keycloak-model-jpa is vulnerable to Authentication Bypass by Capture-replay

CVE-2026-90997Published Sep 30, 2026
September 30, 2026

74

CVE Score

High

Authentication Bypass by Capture-replay

Are you affected? Scan for Free

TL;DR

keycloak-model-jpa records single use objects with an upsert and accepts the write as a first use when the database reports one affected row. On MySQL and MariaDB, the default driver reports a matched but unchanged row as one affected row, so putIfAbsent returns success for a key that is already stored. An attacker who intercepts a JWT client assertion, a DPoP proof, or a TOTP code can submit that artifact again at the token endpoint or login flow and obtain unauthorized access. The fix deletes expired rows and uses INSERT IGNORE on those databases so a reused key does not count as a new insert.

How do I fix this?

Upgrade the org.keycloak:keycloak-model-jpa library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and Keycloak runs in stateless mode with MySQL or MariaDB.

Versions

26.7.0 - 26.7.3

Fixed in 26.7.4

Background info

keycloak-model-jpa is vulnerable to Authentication Bypass by Capture-replay in versions 26.7.0 - 26.7.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea