GHSA-gj52-35xm-gxjh: Duplicate Advisory: Keycloak phishing attack via email verification step in first login flow
(updated )
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 →