Skip to content
Heist/ feed
Back to feed
High

Keycloak: phishing attack via email verification step in first login flow

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-7365
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:17 UTC · Revision 1

Source evidence

Keycloak: phishing attack via email verification step in first login flow

core-osv · Original source

Published 10 Jul 2025, 14:20 UTC

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.

osv:CVE-2025-7365
Complete source record
{
  "id": "773a0b0a715c4057ecb78a64136d685d259853db0bc390a7601c2c129af7d6a6",
  "url": "https://osv.dev/vulnerability/CVE-2025-7365",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Keycloak: phishing attack via email verification step in first login flow",
    "summary": "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.",
    "evidence": "osv:CVE-2025-7365",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-7365",
      "aliases": [
        "CVE-2025-7365",
        "GHSA-xhpr-465j-7p9q"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/keycloak/keycloak",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ba2566fe5fe30d868eceaaf209314d2ff4dcd4b6"
                },
                {
                  "fixed": "78fa91620bbab9271d3a6f4ad7bb804140af0096"
                },
                {
                  "fixed": "25d596e2163dd8faadbc3962b0987dbb148a2bf1"
                },
                {
                  "fixed": "51bd67030d264a6f001de425ce558fad55970336"
                },
                {
                  "introduced": "4cb4d2d06ed17e3a8bd928f472d3f9e4d1adea1d"
                },
                {
                  "fixed": "51bd67030d264a6f001de425ce558fad55970336"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.0.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.0-16"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.0-17"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.2-6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                  },
                  {
                    "range": [
                      {
                        "introduced": "26.2.0"
                      },
                      {
                        "fixed": "26.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.0.Test",
            "1.3.0.Final",
            "1.1.0.Beta2",
            "1.0.0.Final",
            "1.0-final",
            "1.0-rc-1",
            "1.0-beta-4",
            "1.0-beta-2",
            "1.0-beta-1",
            "1.0-alpha-3",
            "1.0-alpha-2",
            "1.0-alpha-1",
            "1.0-alpha-1-12062013"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7365.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.845861866Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://catalog.redhat.com/software/containers/",
        "https://github.com/keycloak/keycloak/",
        "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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7365.json",
        "https://nvd.nist.gov/vuln/detail/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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-346"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "26.0.13-2"
                  },
                  {
                    "fixed": "26.2.6-1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7365.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-7365",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493333,
  "published_at": "2025-07-10T14:20:45.775+00:00"
}