REDHAT-BUG-2501738: Medium severity Keycloak Keycloak Admin REST API vulnerability
A missing authorization check vulnerability was discovered in Keycloak admin REST API name-based composite endpoints. The flaw exists in the RoleContainerResource where the name-based path (/admin/realms/{realm}/roles/{role-name}/composites) was not updated with the security fixes previously applied to the id-based path. The root cause is the failure to validate that a delegated administrator has the necessary permissions to modify built-in admin roles when using the name-based resource path. An attacker with manage-realm permissions can exploit this by sending a DELETE request to the name-based composite endpoint. Successful exploitation allows an attacker to remove the manage-users, impersonation, or manage-clients child roles from the built-in admin role, thereby degrading the permissions of other administrators within the same realm.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2501738?
The severity of REDHAT-BUG-2501738 is medium, rated at 4.
How do I fix REDHAT-BUG-2501738?
To fix REDHAT-BUG-2501738, you need to apply the latest security patches provided by Keycloak.
What type of vulnerability is REDHAT-BUG-2501738?
REDHAT-BUG-2501738 is a missing authorization check vulnerability in the Keycloak admin REST API.
What components are affected by REDHAT-BUG-2501738?
REDHAT-BUG-2501738 affects the Keycloak Admin REST API, specifically the RoleContainerResource.
When was REDHAT-BUG-2501738 published?
REDHAT-BUG-2501738 was published on July 17, 2026.