{"id":"CVE-2025-7365","published":"2025-07-10T14:20:45Z","modified":"2026-08-31T00:28:06Z","title":"Keycloak: phishing attack via email verification step in first login flow","vendor":"Red Hat","product":"Red Hat build of Keycloak 26","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00272,"percentile":0.19953,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:11986","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:11987","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:12015","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:12016","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-7365","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2378852","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/issues/40446","tags":[]},{"url":"https://github.com/keycloak/keycloak/pull/40520","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.99},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 26.0.13",">= 26.2.0, < 26.2.6"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-10T20:16:26.504640Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<26.0.13",">=26.2.0, <26.2.6"],"patched":["26.0.13","26.2.6"],"from":["GHSA-xhpr-465j-7p9q"],"provenance":"source"}],"summary":{"text":"The flaw is in the account-merging step of the identity provider login flow in Red Hat build of Keycloak 26, where a \"review profile\" prompt lets an authenticated user change their email address to match a victim's. An attacker who is already authenticated and can reach the Keycloak login flow, and who needs a victim to click the verification link in the resulting email, could gain access to the victim's account, since the email sent to the victim does not show the attacker's address and so can be used for phishing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:31Z"},"euvd":{"id":"EUVD-2025-20994","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-1391","published":"2025-02-17","fixed":"26.1.3","kev":false,"link":{"from":"CVE-2025-1391","to":"CVE-2025-7365","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.0.10","toFixed":"26.0.13","daysApart":143}]}},{"cve":"CVE-2025-3501","published":"2025-04-29","fixed":"26.2.2","kev":false},{"cve":"CVE-2025-3910","published":"2025-04-29","fixed":"26.2.2","kev":false},{"cve":"CVE-2025-12110","published":"2025-10-23","fixed":"26.2.3","kev":false},{"cve":"CVE-2025-7365","published":"2025-07-10","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-7784","published":"2025-07-18","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-8419","published":"2025-08-06","fixed":"26.3.3","kev":false},{"cve":"CVE-2025-11429","published":"2025-10-23","fixed":"26.4.1","kev":false}],"package":"Maven:org.keycloak:keycloak-services"}}