CVE-2025-7365Keycloak: phishing attack via email verification step in first login flow
- 7.1HighCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 80% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 2 days later
· 2 days later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
keycloak
- affected < 26.0.13
- unknown 26.1.0 – < 26.1.*
- affected 26.2.0 – < 26.2.6
Red Hat · Red Hat build of Keycloak 26
All versions: unaffected
Red Hat · Red Hat build of Keycloak 26
All versions: unaffected
Red Hat · Red Hat build of Keycloak 26.0
- unaffected 26.0.13-2 – < *
Red Hat · Red Hat build of Keycloak 26.0
- unaffected 26.0-16 – < *
Red Hat · Red Hat build of Keycloak 26.0
- unaffected 26.0-17 – < *
Red Hat · Red Hat build of Keycloak 26.2
- unaffected 26.2.6-1 – < *
Red Hat · Red Hat build of Keycloak 26.2
- unaffected 26.2-6 – < *
Red Hat · Red Hat build of Keycloak 26.2
- unaffected 26.2-6 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-xhpr-465j-7p9q (opens in a new tab)
What to do
Workaround: Disable account review in the Identity Provider to prevent users from potentially modifying identity information. Disable the email verification step and use only re-authentication step.
References
References8
- RHSA-2025:11986 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:11987 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12015 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12016 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-7365 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2378852 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/keycloak/keycloak/issues/40446 (opens in a new tab)
- https://github.com/keycloak/keycloak/pull/40520 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-20994 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xhpr-465j-7p9q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-7365)Record last updated .