Red Hat build of Keycloak 26.4
Keycloak: group-admin escalation to realm-admin
A flaw was found in Keycloak. A missing authorization check in the GroupResource.addChild() endpoint within the Admin REST API allows an authenticated user with limited administrative privileges to reparent any existing group. When Fine-Grained Admin Permissions v2 (FGAPv2) is enabled, an attacker with management rights over a single low-privilege group can reparent a highly privileged group (such as one possessing the realm-admin role) under their managed group. Because group permissions follow a hierarchical structure, this action unauthorizedly grants the attacker management and password-reset capabilities over the members of the targeted privileged group. An attacker can exploit this to reset an administrator's password, compromise the account, and achieve a full realm takeover, leading to a complete compromise of confidentiality, integrity, and availability.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 26.4.13-1
Fixed in 26.4-19
Fixed in 26.4-19
Fixed in 26.6.4-2
Fixed in 26.6-8
Fixed in 26.6-8
Mitigation
Upgrade Red Hat build of Keycloak 26.4 to 26.4.13-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-19 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-19 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6.4-2 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6-8 or later.
Upgrade Red Hat build of Keycloak 26.6 to 26.6-8 or later.
Workaround
To mitigate this issue, restrict network access to the Keycloak Admin REST API to only trusted networks or localhost. This limits the attack surface by preventing unauthorized access to the API endpoints required for exploitation. Consult your network security documentation for specific firewall or network access control configurations. This may impact remote administration capabilities.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:30049
- Vendor advisory access.redhat.com/errata/RHSA-2026:30050
- Vendor advisory access.redhat.com/errata/RHSA-2026:30083
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:30084
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.