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

Summary

CVECVE-2025-7365
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-07-10 15:15:30 UTC
Updated2026-05-06 17:16:19 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.1 HIGH from [email protected]

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Problem Types: CWE-346 | CWE-346 Origin Validation Error


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.1HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.1HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1CNACVSS7.1HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Keycloak - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Build Of Keycloak 26 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 26 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0 unaffected 26.0.13-2 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0 unaffected 26.0-16 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0 unaffected 26.0-17 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.2 unaffected 26.2.6-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.2 unaffected 26.2-6 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.2 unaffected 26.2-6 * rpm Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2025:12016 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2025:11986 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2025:12015 [email protected] access.redhat.com Vendor Advisory
github.com/keycloak/keycloak/pull/40520 [email protected] github.com
access.redhat.com/errata/RHSA-2025:11987 [email protected] access.redhat.com Vendor Advisory
github.com/keycloak/keycloak/issues/40446 [email protected] github.com
access.redhat.com/security/cve/CVE-2025-7365 [email protected] access.redhat.com Vendor Advisory
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com Issue Tracking, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2025-07-08T18:35:00.135ZReported to Red Hat.
CNA2025-06-20T00:00:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report