CVE-2025-7365

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

Published Jul 10, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20994 Keycloak phishing attack via email verification step in first login flow
Github GHSA Github GHSA GHSA-xhpr-465j-7p9q Keycloak phishing attack via email verification step in first login flow
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Redhat keycloak
CPEs cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
Vendors & Products Redhat keycloak
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.0::el9
References
Type Values Removed Values Added
Metrics epss

{'score': 0.00015}

epss

{'score': 0.00016}

Type Values Removed Values Added
Metrics epss

{'score': 0.00015}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title keycloak: Phishing attack via email verification step in first login flow Keycloak: phishing attack via email verification step in first login flow
First Time appeared Redhat
Redhat build Keycloak
CPEs cpe:/a:redhat:build_keycloak:
Vendors & Products Redhat
Redhat build Keycloak
References
Type Values Removed Values Added
Description No description is available for this CVE.
Title keycloak: Phishing attack via email verification step in first login flow
Weaknesses CWE-346
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 31, 2026, 12:28 AM
Reserved
Jul 8, 2025, 6:22 PM
Status
Modified
Published
Jul 10, 2025, 3:15 PM
Modified
Aug 31, 2026, 1:16 AM
Severity
Moderate
Public date
Jun 20, 2025, 12:00 AM