Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Manage-realm delegated admin credentials required (PR:H); network REST API vector with no attack complexity; integrity impact only via unauthorized composite role modification.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Broken access control in Keycloak's RoleContainerResource component allows delegated administrators with manage-realm permissions to remove child roles from built-in admin roles via name-based endpoints in the admin REST API that skip proper authorization checks. Affected distributions include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat JBoss EAP Expansion Pack, and Red Hat Data Grid 8. An attacker exploiting this flaw can degrade or disrupt administrative functions within a realm by stripping essential role assignments from built-in admin roles, effectively undermining the role-based access control structure of the affected deployment. No public exploit code and no CISA KEV listing are associated with this CVE at time of analysis.
Technical ContextAI
Keycloak is an open-source identity and access management solution that implements composite roles - roles that inherit permissions from child roles - to support delegated administration hierarchies. The RoleContainerResource component exposes admin REST API endpoints for managing these role relationships. The flaw lies in name-based API endpoints within this component, which resolve roles by name but fail to enforce the full authorization chain before permitting removal of child roles from built-in admin roles. This is a missing or incomplete authorization check at the API layer - a classic broken access control pattern - rather than a cryptographic or injection flaw. The CPE data confirms impact across cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_single_sign-on_7, cpe:2.3:a:red_hat:red_hat_data_grid_8, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack. No CWE was formally assigned, but the behavior is consistent with CWE-285 (Improper Authorization) or CWE-863 (Incorrect Authorization).
RemediationAI
No specific patched version is confirmed from the provided input data; the Red Hat security advisory (https://access.redhat.com/security/cve/CVE-2026-16105) and associated Bugzilla ticket (https://bugzilla.redhat.com/show_bug.cgi?id=2501738) should be monitored for errata releases and exact fix versions. Until a patch is applied, organizations should audit and minimize the scope of manage-realm permission delegation - granting this permission only to fully trusted administrators, since the flaw is only exploitable by accounts that already hold it. Where feasible, separate administrative domains into distinct realms to limit the blast radius of any single delegated admin account. Network-layer controls restricting access to the Keycloak admin REST API (e.g., binding the admin interface to internal-only networks or enforcing IP allowlists) can reduce exposure but do not eliminate the underlying authorization flaw and may impact legitimate administrative workflows.
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51481
GHSA-w32v-46r7-99r7