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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-346 Origin Validation Error
Affected Products
| Product | Versions |
|---|---|
keycloak |
|
Red Hat build of Keycloak 26Red Hat | |
Red Hat build of Keycloak 26Red Hat | |
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
References
- RHSA-2025:11986vendor-advisory
- RHSA-2025:11987vendor-advisory
- RHSA-2025:12015vendor-advisory
- RHSA-2025:12016vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-7365vdb-entry
- RHBZ#2378852issue-tracking
- https://github.com/keycloak/keycloak/issues/40446
- https://github.com/keycloak/keycloak/pull/40520
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.