Skip to main content
← All vulnerabilities
CVE-2025-7365GHSA-XHPR-465J-7P9Q

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.0.13, 26.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • keycloak

    fixed in 26.0.13; From 26.2.0 · fixed in 26.2.6

  • Red Hat Red Hat build of Keycloak 26

    Version range not reported

  • Red Hat Red Hat build of Keycloak 26

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • org.keycloak:keycloak-servicesMaven

    fixed in 26.0.13

  • org.keycloak:keycloak-servicesMaven

    From 26.2.0 · fixed in 26.2.6

References 8

access.redhat.com

bugzilla.redhat.com

GitHub · keycloak/keycloak