What’s Vulnerable › Vulnerabilities
CVE-2025-7365: Keycloak: phishing attack via email verification step in first login flow
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-10 · updated 2026-08-31
- Weakness: CWE-346
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.
Affected products
- Keycloak: all versions
References
- https://access.redhat.com/errata/RHSA-2025:11986
- https://access.redhat.com/errata/RHSA-2025:11987
- https://access.redhat.com/errata/RHSA-2025:12015
- https://access.redhat.com/errata/RHSA-2025:12016
- https://access.redhat.com/security/cve/CVE-2025-7365
- https://bugzilla.redhat.com/show_bug.cgi?id=2378852
- https://github.com/keycloak/keycloak/issues/40446
- https://github.com/keycloak/keycloak/pull/40520
Get alerted when CVE-2025-7365 or the next vulnerability affects your stack