Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2025-7365

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

July 30, 2025

There is a flaw with the first login flow where, during a IdP login, an attacker with a registered account can initiate the process to merge accounts with an existing victim’s account. The attacker will subsequently be prompted to “review profile” information, which allows the the attacker to modify their email address to that of a victim’s account. This triggers a verification email sent to the victim’s email address. If the victim clicks the verification link, the attacker can gain access to the victim’s account. While not a zero-interaction attack, the attacker’s email address is not directly present in the verification email content, making it a potential phishing opportunity.

This issue has been fixed in versions 26.0.13, 26.2.6, and 26.3.0.

References

  • access.redhat.com/errata/RHSA-2025:11986
  • access.redhat.com/errata/RHSA-2025:11987
  • access.redhat.com/errata/RHSA-2025:12015
  • access.redhat.com/errata/RHSA-2025:12016
  • access.redhat.com/security/cve/CVE-2025-7365
  • bugzilla.redhat.com/show_bug.cgi?id=2378852
  • github.com/advisories/GHSA-xhpr-465j-7p9q
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/issues/40446
  • github.com/keycloak/keycloak/pull/40520
  • github.com/keycloak/keycloak/releases/tag/26.0.13
  • github.com/keycloak/keycloak/releases/tag/26.2.6
  • github.com/keycloak/keycloak/releases/tag/26.3.0
  • github.com/keycloak/keycloak/security/advisories/GHSA-xhpr-465j-7p9q
  • nvd.nist.gov/vuln/detail/CVE-2025-7365

Code Behaviors & Features

Detect and mitigate CVE-2025-7365 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.0.13, all versions starting from 26.2.0 before 26.2.6

Fixed versions

  • 26.0.13
  • 26.2.6

Solution

Upgrade to versions 26.0.13, 26.2.6 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

maven/org.keycloak/keycloak-services/CVE-2025-7365.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:59 +0000.