{"id":"CVE-2026-90997","summary":"Keycloak-services: keycloak: replay protection bypass leads to unauthorized access via database driver semantics mismatch","details":"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.","modified":"2026-11-06T10:45:50.967565561Z","published":"2026-09-17T18:47:34.059Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90997.json","cna_assigner":"redhat","cwe_ids":["CWE-294"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-90997"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90997.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90997"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2533141"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"6c73e3027811d9c7b22683edd825e839272e9547"},{"fixed":"aa9fe3fba0c6cd5770f19a49378c55f4378cf544"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"26.7.0"},{"fixed":"26.7.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90997.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}