Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as delegated Keycloak admin
-
DeliveryIdentify high-privilege target group
-
ExploitCall Admin REST API add-group-member for own account
-
ExecutionMissing authz check adds membership
-
PersistInherit realm-admin roles
-
ImpactFull realm takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already possess an authenticated Keycloak delegated/fine-grained administrator account with permission to manage group memberships (e.g. manage-users or group-scoped management), and a high-privilege target group (one mapped to realm-admin or equivalent roles) must exist in the same realm. It is reached through the Admin REST API group-membership endpoints. Limiting factors: this is not exploitable by anonymous or ordinary end-users (PR is not None) and is only meaningful in deployments that actually delegate scoped administration - single-superadmin realms gain no new capability since those actors are already fully privileged. |
| Impact | This is a genuine, moderately-high privilege-escalation issue in a widely-deployed IAM platform, but not an emergency. The vendor CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H = 6.6) reflects a network-reachable but privilege-gated flaw: the attacker must already hold a delegated Keycloak admin account with group/user management rights, and AC:H captures that a suitable high-privilege target group must exist and the delegated admin must be scoped to touch it. I dispute the PR:H choice - the entire point of the flaw is that a LIMITED/delegated administrator escalates, so PR:L is more defensible, which would raise the score to roughly 7.3; one could also argue S:C since a narrowly-scoped operator gains control of the whole realm. No EPSS score, KEV listing, or public POC was provided, so exploitation likelihood is currently unquantified and there is no evidence of active exploitation. Net: prioritize patching in environments that actually use Keycloak's delegated/fine-grained admin model (multi-tenant realms, hosting providers), but for single-admin deployments the practical exposure is low because the only actors who can exploit it already hold admin credentials. Missing signal to note explicitly: EPSS/KEV/POC status is absent from the input, so 'no public exploit identified' is an absence-of-evidence statement, not a vendor confirmation of non-exploitability. |
| Exploit ScenarioDerived | In a multi-tenant Keycloak realm, an organization grants a partner a delegated admin account limited to managing users within one group. That delegated admin calls the Admin REST API group-membership endpoint to add their own account to a high-privilege group (e.g. one mapped to realm-admin roles), which the server adds without verifying the group confers administrative privileges - escalating to full realm control. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 19, 2026
Privilege escalation in the Keycloak Admin REST API allows an already-authenticated delegated administrator to add their own account to a group that carries administrative role mappings, turning scoped, fine-grained management rights into effective control of the entire realm. The group-membership endpoints do not verify whether the target group grants privileged roles (CWE-862, Missing Authorization), so the escalation is a single API call away for anyone holding manage-users or equivalent group-scoped permissions. Reachability is limited: anonymous users and ordinary end-users cannot trigger it, a high-privilege group must already exist in the same realm, and deployments that only use a single super-admin gain nothing new because those actors are already fully privileged. No public exploit code has been identified at time of analysis and the CVE is not listed in CISA KEV. Affected builds include Red Hat Build of Keycloak and Red Hat Single Sign-On 7.
RemediationAI
No vendor-released patch version was provided in the available intelligence, so no exact upgrade target can be cited yet; check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-94000 and Bugzilla 2537168 for the fixed build and apply it as soon as an errata ships. Until then, apply targeted compensating controls rather than generic hardening. First, audit high-privilege groups - any group whose role mappings include realm-admin or other administrative composites - and ensure their membership can only be changed by full realm administrators; Keycloak permission evaluation cannot currently express this, so the practical form is to remove manage-users and group-scoped management permissions from delegated roles that also have visibility into those groups, accepting that affected administrators lose the ability to add or remove users anywhere in the group tree. Second, where high-privilege groups must coexist with delegated administration, move them into a separate realm that delegated admins cannot access; the trade-off is duplicated clients, identity providers and role definitions plus additional operational overhead. Third, enable and centrally ship the Keycloak admin event listener so group-membership changes are logged, and alert on membership additions to privileged groups - this detects rather than prevents the escalation and only helps if logs are actually monitored. Finally, enable the admin event listener plus periodic reconciliation of delegated-admin role assignments to catch drift. Note that 'deny everything' workarounds such as disabling the Admin REST API or revoking all delegated admin roles will break legitimate delegated workflows and should only be used in the highest-value realms where delegation is not required.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is an open-source identity and access management platform providing OIDC/SAML single sign-on, user federation and fine-grained administrative delegation. Its administration surface is the Admin REST API, which exposes group-management endpoints such as /admin/realms/{realm}/groups/{id}/members, where administrators add or remove members of a group. In Keycloak's authorization model, privileges are carried by realm roles (including the composite realm-admin role) and those roles can be mapped onto groups, so membership in a group is itself a privilege grant. The defect is a missing-authorization condition (CWE-862): the membership endpoint enforces the caller's permission to modify group members but never checks the privilege gradient of the group being joined, so a delegated administrator confined to a subset of users or groups can escalate by joining a group whose role mappings include administrative rights. The high attack complexity in the assessed vector reflects the preconditions - an existing delegated-admin account, a suitable high-privilege group in the same realm, and a deployment that actually delegates scoped administration - rather than any cryptographic or race-condition obstacle. CPE data maps the issue to Red Hat Build of Keycloak and Red Hat Single Sign-On 7, the supported downstream distributions of the upstream project.
Know when Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Delegated limited admin is the escalation source so PR:L not PR:H; AC:H because a suitable high-privilege target group and delegated scope must exist; realm takeover yields full C/I/A.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Admin REST API of Keycloak, an open-source identity and access management solution. The issue occurs in the group-membership endpoints where the system fails to check if a group grants administrative privileges before allowing a user to be added. This allows a delegated administrator with limited permissions to add themselves to a high-privilege group, potentially gaining full control over the entire realm.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Affected Products (CPE)CVE.org
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne
Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be
It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in
A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t
A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c
EUVD-2026-83601
GHSA-3g7j-6fqv-v2q4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB