CVSS 3.1
7.4 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NHigh (7.4) in keycloak keycloak. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExplain CVE-2026-90997 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-90997?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-90997?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-90997 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Keycloak | from 26.7.0 before 26.7.4 |
Red Hat rates this Important.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Build of Keycloak | rhbk/keycloak-rhel9 | Not affected | |
| Red Hat Build of Keycloak | rhbk/keycloak-rhel9-operator | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-90997.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.