CVE-2026-16105: Keycloak-services: keycloak-services: missing per-role authorization on rolecontainerresource composite endpoints

Published Jul 17, 2026
·
Updated

A flaw was found in the RoleContainerResource component of Keycloak. The issue occurs because certain name-based endpoints in the admin REST API do not properly enforce authorization checks when managing composite roles. This allows a delegated administrator with manage-realm permissions to remove essential child roles from built-in admin roles, potentially disrupting administrative functions within a realm.

Other sources

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.

Red Hat

Affected Software

2 affected components
Keycloak RoleContainerResource
redhat Build Of Keycloak

Event History

Jul 17, 2026
Data Sourced
via Red Hat·02:50 PM
DescriptionSeverityAffected Software
Jul 31, 2026
CVE Published
via MITRE·07:03 AM
Data Sourced
via MITRE·07:03 AM
DescriptionSeverity
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeaknessAffected 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 CVE-2026-16105?

CVE-2026-16105 has a medium severity rating of 4.9.

2

How do I fix CVE-2026-16105?

To mitigate CVE-2026-16105, ensure that proper role-based authorization checks are implemented in the RoleContainerResource component.

3

What are the potential impacts of CVE-2026-16105?

The flaw in CVE-2026-16105 could allow a delegated administrator to manipulate composite roles without appropriate authorization.

4

Who is affected by CVE-2026-16105?

CVE-2026-16105 affects users of Keycloak who utilize the RoleContainerResource component in their admin REST API.

5

When was CVE-2026-16105 published?

CVE-2026-16105 was published on July 17, 2026.

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