{"id":"CVE-2026-16105","title":"A flaw was found in the RoleContainerResource component of Keycloak","summary":"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 de…","severity":"medium","cvss":4.9,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","cwe":["CWE-639","CWE-862"],"vendor":"redhat","product":"build_of_keycloak","affected":["build_of_keycloak"],"patched":["build_of_keycloak 26.6.7"],"published":"2026-07-31","updated":"2026-09-16","sourceUpdated":"2026-09-16T19:17:07.660","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-16105","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:68277","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:68278","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-16105","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2501738","label":"secalert@redhat.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-16105.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-16105"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16105"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.0024,"epssPercentile":0.15427,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-31T14:57:16.957515Z"},"ingestedAt":"2026-08-08T14:22:57.298Z","slug":"CVE-2026-16105","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `build_of_keycloak`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2026:68278** · Red Hat · fixed in: Red Hat build of Keycloak 26.6.7 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68278)\n- **RHSA-2026:68277** · Red Hat · fixed in: Red Hat build of Keycloak 26.6 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68277)","depth":"sunlit","depthScore":27,"depthScoreParts":{"impact":27,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}