Home

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.

PUBLISHED Reserved 2025-07-08 | Published 2025-07-10 | Updated 2026-05-06 | Assigner redhat




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

Problem types

Origin Validation Error

Product status

Default status
unaffected

Any version before 26.0.13
affected

26.1.0 (semver) before 26.1.*
unknown

26.2.0 (semver) before 26.2.6
affected

Default status
unaffected

Default status
unaffected

Default status
affected

26.0.13-2 (rpm) before *
unaffected

Default status
affected

26.0-16 (rpm) before *
unaffected

Default status
affected

26.0-17 (rpm) before *
unaffected

Default status
affected

26.2.6-1 (rpm) before *
unaffected

Default status
affected

26.2-6 (rpm) before *
unaffected

Default status
affected

26.2-6 (rpm) before *
unaffected

Timeline

2025-07-08:Reported to Red Hat.
2025-06-20:Made public.

References

access.redhat.com/errata/RHSA-2025:11986 (RHSA-2025:11986) vendor-advisory

access.redhat.com/errata/RHSA-2025:11987 (RHSA-2025:11987) vendor-advisory

access.redhat.com/errata/RHSA-2025:12015 (RHSA-2025:12015) vendor-advisory

access.redhat.com/errata/RHSA-2025:12016 (RHSA-2025:12016) vendor-advisory

access.redhat.com/security/cve/CVE-2025-7365 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2378852 (RHBZ#2378852) issue-tracking

github.com/keycloak/keycloak/issues/40446

github.com/keycloak/keycloak/pull/40520

cve.org (CVE-2025-7365)

nvd.nist.gov (CVE-2025-7365)

Download JSON