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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
keycloak
Default version status: unaffected
0 to < 26.0.13affected26.1.0 to < 26.1.*unknown26.2.0 to < 26.2.6affected
Red Hat Red Hat build of Keycloak 26
Default version status: unaffected
Red Hat Red Hat build of Keycloak 26
Default version status: unaffected
Red Hat Red Hat build of Keycloak 26.0
Default version status: affected
26.0.13-2 to < *unaffected
Red Hat Red Hat build of Keycloak 26.0
Default version status: affected
26.0-16 to < *unaffected
Red Hat Red Hat build of Keycloak 26.0
Default version status: affected
26.0-17 to < *unaffected
Red Hat Red Hat build of Keycloak 26.2
Default version status: affected
26.2.6-1 to < *unaffected
Red Hat Red Hat build of Keycloak 26.2
Default version status: affected
26.2-6 to < *unaffected
Red Hat Red Hat build of Keycloak 26.2
Default version status: affected
26.2-6 to < *unaffected
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 ↗