<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Keycloak (Stateless Mode) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/keycloak-stateless-mode/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 17 Sep 2026 19:59:10 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/keycloak-stateless-mode/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Keycloak Stateless Mode Replay Vulnerability (CVE-2026-90997)</title><link>https://feed.craftedsignal.io/briefs/2026-09-keycloak-replay-vulnerability/</link><pubDate>Thu, 17 Sep 2026 19:59:10 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-keycloak-replay-vulnerability/</guid><description>A row-count mismatch in Keycloak when using MySQL or MariaDB in stateless mode allows attackers to bypass replay protection for single-use security artifacts like JWT client assertions, DPoP proofs, or TOTP codes.</description><content:encoded><![CDATA[<p>CVE-2026-90997 is a security vulnerability in Keycloak that manifests when the application is configured in stateless mode while utilizing MySQL or MariaDB as the backend database. The issue arises from a semantic discrepancy in how row counts are handled by the database driver compared to Keycloak's internal application logic. This flaw permits the successful replay of single-use security artifacts that are intended to be consumed exactly once. An attacker capable of intercepting these artifacts - specifically JWT client assertions, DPoP proofs, or TOTP codes - can reuse them to gain unauthorized access to the token endpoint or bypass authentication flows. This vulnerability is critical for environments relying on stateless Keycloak deployments for identity and access management, as it undermines the fundamental security guarantees of one-time-use authentication mechanisms.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to bypass authentication protections, leading to unauthorized access to protected resources or elevated privileges within the identity provider. This poses a significant risk to organizations using Keycloak to secure API access or user logins, as an attacker with access to intercepted tokens can effectively masquerade as legitimate users or clients.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the identification of all Keycloak deployments currently running in stateless mode that utilize MySQL or MariaDB backends. Evaluate available patches from the Keycloak project and apply them to all affected instances to remediate the underlying database driver logic mismatch. Since no specific IOCs are currently available, teams should monitor authentication logs for anomalous patterns of repeated token usage or multiple successful logins using the same short-lived authentication artifacts.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>identity-management</category><category>authentication-bypass</category><category>vulnerability</category></item></channel></rss>