CVE-2025-7365
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-07-10
- Last modified
- 2026-08-31
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Scored by
- secalert@redhat.com
- Probability of exploitation
-
0.2 %
higher than 14 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Redhat | Keycloak | all versions listed | Affected |
Weakness type
-
CWE-346: Origin Validation Error
The product does not properly verify that the source of data or communication is valid.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1134: Access Token Manipulation
- T1134.001: Token Impersonation/Theft
- T1528: Steal Application Access Token
- T1539: Steal Web Session Cookie
- T1550.004: Web Session Cookie
- T1557.002: ARP Cache Poisoning
- T1584.002: DNS Server
References
- https://access.redhat.com/errata/RHSA-2025:11986
- https://access.redhat.com/errata/RHSA-2025:11987
- https://access.redhat.com/errata/RHSA-2025:12015
- https://access.redhat.com/errata/RHSA-2025:12016
- https://access.redhat.com/security/cve/CVE-2025-7365
- https://bugzilla.redhat.com/show_bug.cgi?id=2378852
- https://github.com/keycloak/keycloak/issues/40446
- https://github.com/keycloak/keycloak/pull/40520
Related at Berigo
Articles
-
Red Hat npm Miasma credential-stealing campaign
Same product
2026-06-05
32 npm packages under @redhat-cloud-services were modified with malware that steals cloud, SSH and AI tool credentials and spreads to further package…
-
Compromised npm packages steal developer and CI/CD secrets
Same product
2026-06-01
A new supply chain campaign has compromised npm packages under the @redhat-cloud-services namespace, running at install time to harvest secrets.
-
Critical flaw lets unauthenticated attackers redirect Apache Artemis brokers
Same product
2026-03-03
CVE-2026-27446 lets an attacker without credentials force an Artemis broker to connect to a server they control, then read or inject messages.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.