REDHAT-BUG-2480182: High severity Keycloak Keycloak vulnerability
A flaw was found in Keycloak. A missing authorization check in the GroupResource.addChild() endpoint within the Admin REST API allows an authenticated user with limited administrative privileges to reparent any existing group. When Fine-Grained Admin Permissions v2 (FGAPv2) is enabled, an attacker with management rights over a single low-privilege group can reparent a highly privileged group (such as one possessing the realm-admin role) under their managed group.
Because group permissions follow a hierarchical structure, this action unauthorizedly grants the attacker management and password-reset capabilities over the members of the targeted privileged group. An attacker can exploit this to reset an administrator's password, compromise the account, and achieve a full realm takeover, leading to a complete compromise of confidentiality, integrity, and availability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Mitigate by ensuring Fine-Grained Admin Permissions v2 (FGAPv2) is disabled, since the issue is exploitable when FGAPv2 is enabled.
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2480182?
The severity of REDHAT-BUG-2480182 is classified as high with a severity score of 7.
How do I fix REDHAT-BUG-2480182?
To fix REDHAT-BUG-2480182, ensure that Fine-Grained Admin Permissions v2 (FGAPv2) is properly configured to restrict access to the Admin REST API.
What software is affected by REDHAT-BUG-2480182?
The affected software for REDHAT-BUG-2480182 is Keycloak.
What are the potential impacts of REDHAT-BUG-2480182?
The potential impact of REDHAT-BUG-2480182 allows authenticated users with limited administrative privileges to reparent any existing group, leading to unauthorized changes.
When was REDHAT-BUG-2480182 published?
REDHAT-BUG-2480182 was published on May 20, 2026.