CVE-2025-7365

Summary

A flaw was found in Keycloak. When an authenticated attacker attempts to merge accounts with another existing account during an identity provider (IdP) login, the attacker will subsequently be prompted to "review profile" information. This vulnerability allows the attacker to modify their email address to match that of a victim's account, triggering a verification email sent to the victim's email address. The attacker's email address is not present in the verification email content, making it a potential phishing opportunity. If the victim clicks the verification link, the attacker can gain access to the victim's account.

Affected Software

VendorProductVersion RangeStatus
0 < 26.0.13affected
26.1.0 < 26.1.*unknown
26.2.0 < 26.2.6affected
Red HatRed Hat build of Keycloak 26.026.0.13-2 < *unaffected
Red HatRed Hat build of Keycloak 26.026.0-16 < *unaffected
Red HatRed Hat build of Keycloak 26.026.0-17 < *unaffected
Red HatRed Hat build of Keycloak 26.226.2.6-1 < *unaffected
Red HatRed Hat build of Keycloak 26.226.2-6 < *unaffected
Red HatRed Hat build of Keycloak 26.226.2-6 < *unaffected

Weaknesses

  • CWE-346: Origin Validation Error

Workarounds

Disable account review in the Identity Provider to prevent users from potentially modifying identity information. Disable the email verification step and use only re-authentication step.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References