CVE-2026-16105

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

State
Published
Severity
4.9 Medium
Published
Jul 31, 2026
Updated
Sep 16, 2026
Reserved
Jul 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:Nredhat

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-862 Missing Authorization

Affected Products

ProductVersions
Red Hat build of Keycloak 26.6Red Hat
  • 26.6.7-3 and laterNot affected
Red Hat build of Keycloak 26.6Red Hat
  • 26.6-20 and laterNot affected
Red Hat build of Keycloak 26.6Red Hat
  • 26.6-20 and laterNot affected
Red Hat build of Keycloak 26.6.7Red Hat
    Red Hat build of Keycloak 26.6.7Red Hat
      Red Hat build of Keycloak 26.6.7Red Hat
        Red Hat Data Grid 8Red Hat
          Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
            Red Hat Single Sign-On 7Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.