CVE-2025-7365

Executive Summary

A flaw in Keycloak allows an authenticated attacker to merge accounts during an IdP login, prompting a profile review. The attacker can change their email to match a victim’s, triggering a verification email sent to the victim. The email lacks the attacker’s address, creating a phishing vector. If the victim clicks the link, the attacker can access the victim’s account.


Authoritative CVE Metadata - CVSS Base Score: 7.1 (HIGH) - Published: 2025-07-10T15:15:30.427 - Last Modified: 2026-08-31T01:16:47.253

Original Description: 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.

"True silence is the rest of the mind; it is to the spirit what sleep is to the body, nourishment and refreshment."

— William Penn
Source: NVD