SB2025073159 - Multiple vulnerabilities in Keycloak
Published: July 31, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Improper privilege management (CVE-ID: CVE-2025-7784)
The vulnerability allows a remote user to escalate privileges within the application.
The vulnerability exists due to improper privilege management in the admin permission enforcement logic when FGAPv2 is enabled. A remote privileged user can edit their own role and gain unauthorized full access to realm configuration and user data.
2) Origin validation error (CVE-ID: CVE-2025-7365)
The vulnerability allows a remote user to take over accounts of other application users.
The vulnerability exists due to an error in the first login flow during a IdP login. A remote user with a registered account can initiate the process to merge accounts with an existing victim's account.The attacker will subsequently be prompted to "review profile" information, which allows the the attacker to modify their email address to that of a victim's account. This triggers a verification email sent to the victim's email address. If the victim clicks the verification link, the attacker can gain access to the victim's account.
Remediation
Install update from vendor's website.