CVE-2025-7365

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

HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-346 — Origin Validation Error

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
keycloakaffected 0 < 26.0.13 ; unknown 26.1.0 < 26.1.* ; affected 26.2.0 < 26.2.6
Red Hat · Red Hat build of Keycloak 26
Red Hat · Red Hat build of Keycloak 26
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.13-2 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-16 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-17 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2.6-1 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-6 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-6 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD