CVE-2025-7365

Keycloak: phishing attack via email verification step in first login flow

State
Published
Severity
7.1 High
Published
Jul 10, 2025
Updated
Aug 31, 2026
Reserved
Jul 8, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
keycloak
  • before 26.0.13Affected
  • 26.1.0 to before 26.1.*Unknown
  • 26.2.0 to before 26.2.6Affected
Red Hat build of Keycloak 26Red Hat
    Red Hat build of Keycloak 26Red Hat
      Red Hat build of Keycloak 26.0Red Hat
      • 26.0.13-2 and laterNot affected
      Red Hat build of Keycloak 26.0Red Hat
      • 26.0-16 and laterNot affected
      Red Hat build of Keycloak 26.0Red Hat
      • 26.0-17 and laterNot affected
      Red Hat build of Keycloak 26.2Red Hat
      • 26.2.6-1 and laterNot affected
      Red Hat build of Keycloak 26.2Red Hat
      • 26.2-6 and laterNot affected
      Red Hat build of Keycloak 26.2Red Hat
      • 26.2-6 and laterNot affected

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.