Keycloak-services: keycloak-services: account takeover via authentication race using reset-credentials path (Red Hat Red Hat build of Keycloak 26.4)

CVE-2026-103112
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.39 % · percentile 36 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
Affected products
Red Hat · Red Hat build of Keycloak 26.4
Red Hat · Red Hat build of Keycloak 26.4.17
Red Hat · Red Hat build of Keycloak 26.6
Red Hat · Red Hat build of Keycloak 26.6.8
Red Hat · Red Hat Single Sign-On 7
NVD status
Awaiting Analysis

Description

A flaw was found in the authentication session handling of the keycloak-services component in Keycloak. The issue occurs because the system fails to verify if an authenticator is valid for the current authentication flow when switching between the standard authentication path and the reset credentials path. An authenticated attacker can exploit this by triggering a race condition during the credential reset process to associate their successful authentication state with another user's session. This can result in the attacker gaining full access to the victim's account and changing their password.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

Credits

  • Red Hat would like to thank Michael Allen for reporting this issue.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductAffected versions
Red Hat · Red Hat build of Keycloak 26.4
rhbk/keycloak-operator-bundle
unaffected : ≥ 26.4.17-2 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.4
rhbk/keycloak-rhel9
unaffected : ≥ 26.4-29 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.4
rhbk/keycloak-rhel9-operator
unaffected : ≥ 26.4-30 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.4.17
keycloak-services
Other versions : unaffected
Red Hat · Red Hat build of Keycloak 26.4.17
rhbk/keycloak-rhel9
Other versions : unaffected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-operator-bundle
unaffected : ≥ 26.6.8-2 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9
unaffected : ≥ 26.6-24 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9-operator
unaffected : ≥ 26.6-24 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6.8
keycloak-services
Other versions : unaffected
Red Hat · Red Hat build of Keycloak 26.6.8
rhbk/keycloak-rhel9
Other versions : unaffected
Red Hat · Red Hat Single Sign-On 7
keycloak-services
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD