Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-90997— Keycloak: Replay protection bypass leads to unauthorized access via database driver semantics mismatch

Quick assessment

Affected
Keycloak Keycloak
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Keycloak 中发现了一个缺陷。当以无状态模式部署并搭配 MySQL 或 MariaDB 数据库时,由于数据库驱动与 Keycloak 应用逻辑在“行数”语义上存在不一致,攻击者可以绕过重放保护机制。该漏洞允许截获一次性安全工件(例如 JWT 客户端断言、DPoP 证明或一次性密码(TOTP)代码)的攻击者将其重放使用。成功利用此漏洞可使攻击者未经授权地访问令牌端点或登录流程。

CVSS 7.4 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
Keycloak Keycloak 26.7.0< 26.7.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-90997

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Keycloak: Replay protection bypass leads to unauthorized access via database driver semantics mismatch
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用捕获-重放进行的认证绕过
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Keycloak Keycloak 26.7.0 ~ 26.7.4 -

II. Public POCs for CVE-2026-90997

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-90997

登录查看更多情报信息。

Other References for CVE-2026-90997 (1)

Other References for CVE-2026-90997 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-90997

No comments yet


Leave a comment