LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-7365 is a Keycloak account-takeover phishing weakness in the first-login identity-provider flow. An authenticated attacker can cause a verification email to be sent to a victim without clearly showing the attacker’s email. If the victim clicks the link, the attacker may gain access to the victim’s account.

Executive priority

Treat as a priority identity-platform fix. The flaw can support account takeover, but requires attacker authentication and victim interaction. Patch affected Keycloak environments through vendor advisories and add user-awareness monitoring for suspicious verification emails.

Technical view

The flaw occurs during IdP login account merging and subsequent profile review. The attacker can change their email to match a victim’s, triggering a misleading verification email. Red Hat rates it High with CVSS 7.1: network exploitable, high complexity, low privileges, and required user interaction.

Likely exposure

Organizations using Keycloak or Red Hat build of Keycloak 26, especially 26.0 and 26.2 packages listed by Red Hat, should assess exposure. Risk is highest where external IdPs, first-login flows, account linking, and email verification are enabled.

Exploitation context

Sources do not show CISA KEV listing or confirmed active exploitation. Exploitation requires an authenticated attacker, a suitable IdP account-merge flow, and victim interaction with a verification email. The impact can include confidentiality, integrity, and availability loss for the victim account.

Researcher notes

Key evidence comes from Red Hat and CVE sources. The weakness is mapped to CWE-346. Public sources identify the attack path and affected Red Hat package versions, but this summary does not confirm exploit-in-the-wild activity or all upstream fixed versions.

Mitigation direction

  • Apply the relevant Red Hat security advisories for affected Red Hat build of Keycloak packages.
  • Check upstream Keycloak issue and pull request for vendor remediation status.
  • Review vendor guidance before changing login, account-linking, or email-verification behavior.
  • Warn helpdesk and users about unexpected Keycloak verification emails until remediated.

Validation and detection

  • Inventory Keycloak and Red Hat build of Keycloak 26 deployments.
  • Compare installed packages against Red Hat’s affected package list.
  • Confirm applicable RHSA updates are installed where Red Hat packages are used.
  • Review whether IdP first-login account linking and email verification are enabled.
  • Monitor authentication logs for unusual account-linking or email-change events.
Prepared
Confidence
high
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-346: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-7365 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H1.25.9redhat

Vulnerability scoring details

Base CVSS 3.1 score

7.1High
CVSS 3.1 vector shape for CVE-2025-7365Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timelineredhat

    Made public.

  2. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  3. Source timelineredhat

    Reported to Red Hat.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorkeycloakkeycloak, 0, 26.1.0, 26.2.0unaffected
Red HatRed Hat build of Keycloak 26keycloak-servicesunaffected
Red HatRed Hat build of Keycloak 26keycloak-servicesunaffected
Red HatRed Hat build of Keycloak 26.0rhbk/keycloak-operator-bundle, 26.0.13-2affected
Red HatRed Hat build of Keycloak 26.0rhbk/keycloak-rhel9, 26.0-16affected
Red HatRed Hat build of Keycloak 26.0rhbk/keycloak-rhel9-operator, 26.0-17affected
Red HatRed Hat build of Keycloak 26.2rhbk/keycloak-operator-bundle, 26.2.6-1affected
Red HatRed Hat build of Keycloak 26.2rhbk/keycloak-rhel9, 26.2-6affected
Red HatRed Hat build of Keycloak 26.2rhbk/keycloak-rhel9-operator, 26.2-6affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-346 · source CWE mapping

Origin Validation Error

Origin Validation Error represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.