Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. GHSA-gj52-35xm-gxjh

GHSA-gj52-35xm-gxjh: Duplicate Advisory: Keycloak phishing attack via email verification step in first login flow

July 10, 2025 (updated July 30, 2025)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-xhpr-465j-7p9q. This link is maintained to preserve external references.

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

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-gj52-35xm-gxjh
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/issues/40446
  • github.com/keycloak/keycloak/pull/40520
  • github.com/keycloak/keycloak/releases/tag/26.3.0
  • nvd.nist.gov/vuln/detail/CVE-2025-7365

Code Behaviors & Features

Detect and mitigate GHSA-gj52-35xm-gxjh 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.3.0

Fixed versions

  • 26.3.0

Solution

Upgrade to version 26.3.0 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/GHSA-gj52-35xm-gxjh.yml

Spotted a mistake? Edit the file on GitLab.

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

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