Description
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.
Affected products
redhat: build of keycloak
References4
- access.redhat.com/security/cve/CVE-2026-16105 Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2501738 Issue TrackingVendor Advisory
- access.redhat.com/errata/RHSA-2026:68277
- access.redhat.com/errata/RHSA-2026:68278
Metrics
- CVSS 3.1
-
4.9
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N - EPSS — exploit probability
- 0% percentile: 37 · as of 13 November 2026
- CWE
- CWE-639CWE-862
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.