REDHAT-BUG-2501740: Medium severity Keycloak Keycloak Admin REST API vulnerability

Published Jul 17, 2026
·
Updated

A flaw was found in the Keycloak Admin REST API when Fine-Grained Admin Permissions (FGAP) v2 is enabled. The default-groups endpoint and the general realm representation do not correctly enforce per-group view permission checks for default groups. A delegated administrator who has been granted realm-level view permissions but is explicitly denied view permissions for specific groups can still enumerate those hidden groups. By accessing the admin/realms/{realm}/default-groups or admin/realms/{realm} endpoints, the attacker can recover group names, UUIDs, and paths. This allows an authenticated attacker to map out the authorization topology, including onboarding structures, privilege levels, or tenant information that should remain restricted.

Affected Software

1 affected component
Keycloak Keycloak Admin REST API=FGAP v2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    If Fine-Grained Admin Permissions (FGAP) v2 is enabled, restrict access to the Keycloak Admin REST API endpoints /admin/realms/{realm}/default-groups and /admin/realms/{realm} to only principals that require realm-level access; do not allow delegated admins with realm-level view permissions to call these endpoints unless they also have appropriate per-group view permissions.

Event History

Jul 17, 2026
Data Sourced
via Red Hat·02:55 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2501740?

The severity of REDHAT-BUG-2501740 is classified as medium with a score of 4.

2

What is the main issue with REDHAT-BUG-2501740?

The main issue with REDHAT-BUG-2501740 is the lack of proper enforcement of per-group view permission checks in the Keycloak Admin REST API when Fine-Grained Admin Permissions v2 is enabled.

3

How do I fix REDHAT-BUG-2501740?

To fix REDHAT-BUG-2501740, ensure that appropriate permission checks are implemented for the default-groups endpoint in your Keycloak configuration.

4

What product does REDHAT-BUG-2501740 affect?

REDHAT-BUG-2501740 affects the Keycloak Admin REST API.

5

What are the implications of REDHAT-BUG-2501740?

The implications of REDHAT-BUG-2501740 include potential unauthorized access to group information by delegated administrators.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203