# CVE-2025-7365: Keycloak: phishing attack via email verification step in first login flow

- Severity: High 7.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-07-10T14:20:45.775Z
- Modified: 2026-08-31T01:16:47.253Z
- Also known as: GHSA-xhpr-465j-7p9q
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: before 26.0.13; from 26.1.0 before 26.1.*; from 26.2.0 before 26.2.6
- Red Hat Red Hat build of Keycloak 26: no versions given
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.0.13-2 before *; from 26.2.6-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.0-16 before *; from 26.2-6 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.0-17 before *; from 26.2-6 before *)
- org.keycloak:keycloak-services (Maven): before 26.0.13; from 26.2.0 before 26.2.6
- redhat keycloak: no versions given

## Every score

- redhat: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2025:11986> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:11987> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:12015> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:12016> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-7365> (vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2378852> (issue-tracking, vendor-advisory, web)
- <https://github.com/keycloak/keycloak/issues/40446> (web)
- <https://github.com/keycloak/keycloak/pull/40520> (web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-xhpr-465j-7p9q> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-7365> (advisory)
- <https://github.com/keycloak/keycloak> (package)
- <https://github.com/keycloak/keycloak/releases/tag/26.0.13> (web)
- <https://github.com/keycloak/keycloak/releases/tag/26.2.6> (web)
- <https://github.com/keycloak/keycloak/releases/tag/26.3.0> (web)

## Sources

- CVE List: [CVE-2025-7365](https://www.cve.org/CVERecord?id=CVE-2025-7365), CVE Terms of Use, modified 2026-08-31
- GitHub Advisory Database: [GHSA-xhpr-465j-7p9q](https://github.com/advisories/GHSA-xhpr-465j-7p9q), CC-BY-4.0, modified 2025-07-30
- NVD: [CVE-2025-7365](https://nvd.nist.gov/vuln/detail/CVE-2025-7365), Public domain, modified 2026-08-31

---

Page: https://cve.day/CVE-2025-7365 · Whole record: https://cve.day/CVE-2025-7365.json · Rebuilt by cve.day 2026-11-25T22:59:01.099Z
