Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-90997

Опубликовано: 16 сент. 2026
Источник: redhat
CVSS3: 7.4
EPSS Низкий

Описание

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.

Отчет

This vulnerability in Keycloak, when deployed in stateless mode with MySQL or MariaDB, is of High impact. It allows an attacker to bypass replay protection for single-use security artifacts, such as JWT client assertions and TOTP codes, leading to unauthorized access. Exploitation requires an attacker to intercept these short-lived artifacts, which typically necessitates a Man-in-the-Middle position or application-level compromise. This affects community only, it does not affect Red Hat build of Keycloak.

Меры по смягчению последствий

To mitigate this issue, configure the JDBC connection string for MySQL/MariaDB to explicitly set useAffectedRows=true. This ensures the database driver correctly reports affected rows, preventing the replay protection bypass. This mitigation is applicable only when Keycloak is deployed in stateless mode and utilizes MySQL or MariaDB as its database. A restart of the Keycloak service will be required for the configuration change to take effect.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Build of Keycloakrhbk/keycloak-rhel9Not affected
Red Hat Build of Keycloakrhbk/keycloak-rhel9-operatorNot affected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-294
https://bugzilla.redhat.com/show_bug.cgi?id=2533141keycloak-services: Keycloak: Replay protection bypass leads to unauthorized access via database driver semantics mismatch

EPSS

Процентиль: 34%
0.00396
Низкий

7.4 High

CVSS3

Связанные уязвимости

CVSS3: 7.4
nvd
2 дня назад

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.

CVSS3: 7.4
debian
2 дня назад

A flaw was found in Keycloak. When deployed in stateless mode with MyS ...

EPSS

Процентиль: 34%
0.00396
Низкий

7.4 High

CVSS3