Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as delegated admin
-
DeliveryIdentify composite role containing admin permissions
-
ExploitAssign composite role to controlled user
-
ExecutionInherit full realm-admin rights
-
ImpactTake over entire realm
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Fine-Grained Admin Permissions v2 (FGAP v2) feature to be enabled and in use for delegated administration, plus an authenticated delegated administrator account that has been granted role-assignment rights (PR:H). A composite role that transitively contains full administrative permissions must exist within the realm and be assignable within the attacker's granted scope - the flaw is that the permission check does not inspect the contents of composite roles. Limiting factors: exploitation is impossible without an existing limited-admin credential and without a suitably privileged composite role being reachable, which is why the vector carries AC:H and PR:H rather than being a remote-unauthenticated takeover. |
| Impact | This is a genuine but conditional privilege-escalation flaw, not a high-CVSS-but-hollow issue nor a top-tier crisis. The NVD vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H (6.6, MEDIUM) is internally consistent with the description: exploitation is network-reachable (admin console/REST API) but requires PR:H - the attacker must already be a delegated administrator with role-assignment rights under FGAP v2 - and AC:H reflects the precondition that a composite role bundling full administrative permissions must exist and be assignable within the attacker's granted scope. The C:H/I:H/A:H triad is justified because success yields complete realm-management control (full read, modify, and denial capability over the realm). No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or automated exploitation; the realistic threat is an insider or a compromised limited-admin account escalating to full realm takeover. No SSVC decision data was supplied. The main tension to flag: PR:H plus AC:H substantially narrow the population of exploitable deployments versus what a bare 'C:H/I:H/A:H realm takeover' headline implies - this is a trust-boundary/authorization defeat exploitable only by an already-privileged delegated admin, so prioritize it where multi-tenant or delegated administration with composite roles is actually used. |
| Exploit ScenarioDerived | A delegated administrator in a multi-tenant Keycloak realm is granted narrow rights to assign a small set of roles to users. Because FGAP v2 does not recurse into composite roles during the permission check, the attacker assigns a composite role that silently embeds full realm-admin permissions to an account they control, escalating from limited delegate to complete realm administrator. No public exploit code was identified at time of analysis, and exploitation requires the attacker to already hold delegated admin privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Privilege escalation in the Fine-Grained Admin Permissions v2 (FGAP v2) feature of Keycloak lets an authenticated delegated administrator with role-assignment rights grant a composite role whose transitive contents are never inspected, silently conferring full realm administrative control. Exploitation requires that FGAP v2 be enabled for delegated administration, a limited-admin credential holding role-mapping permissions (CVSS vector PR:H), and the presence of a composite role that transitively contains realm-admin privileges within that administrator's assignable scope; the high attack complexity (AC:H) reflects these preconditions rather than any exploitation difficulty, and the resulting impact is a complete confidentiality, integrity, and availability compromise of the realm (CVSS 6.6). No public exploit code and no confirmed active exploitation have been identified at time of analysis, so this should be treated as a genuine but conditional authorization-logic flaw rather than a remotely exploitable takeover.
RemediationAI
No vendor-released patch was identified in the available intelligence at time of analysis, and the referenced material consists of the Red Hat CVE record (https://access.redhat.com/security/cve/CVE-2026-96448) and the associated Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2539291); monitor both for the fixed release and upgrade as soon as a patched version is published. Until then, the most effective compensating control is to disable or stop relying on FGAP v2 for delegated administration (reverting to the legacy FGAP v1 model or to full realm-admin accounts), accepting the trade-off that you lose the least-privilege granularity that FGAP v2 was adopted to provide. Additionally, audit every composite role in each realm and remove, or exclude from delegated assignable scope, any composite that transitively contains realm-management, manage-realm, or realm-admin permissions, since those composites are the payload this flaw fails to inspect; restrict the 'manage' role-mapping permissions of delegated administrators so they cannot assign roles outside a tightly enumerated allow-list, recognizing that this may break legitimate delegation workflows that depend on assigning composite roles. Finally, enable and review Keycloak admin event logging for role-mapping grants by non-realm-admin accounts, and treat any such grant of a privileged composite as a compromise indicator requiring immediate revocation of the assigned role and rotation of affected credentials.
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's Fine-Grained Admin Permissions v2 is a delegated-administration model in which granular permissions (such as the ability to assign a specific role to a user) are evaluated before an administrative operation is permitted. The root cause is CWE-285 (Improper Authorization): when evaluating whether a delegated administrator may assign a given role, the authorization logic validates the target role itself but does not recursively expand composite roles to inspect the permissions those composites aggregate. Because Keycloak composite roles act as containers that transitively inherit every role they reference, a benign-looking composite role can embed realm-management or realm-admin capabilities; assigning it therefore escalates the assignee to full realm control. The affected components are the Red Hat Build of Keycloak and Red Hat Single Sign-On 7, reflected in the CPE entries cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:* (listed twice) and cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*; these CPEs are version-wildcarded, so the affected release ranges must be confirmed from the Red Hat advisory rather than inferred from the feed. Note that this is an authorization-check defect in the FGAP v2 code path, not an authentication bypass in the strict sense, even though the associated tag labels it 'Authentication Bypass'.
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 admin already required (PR:H) and a privileged composite role must exist and be assignable (AC:H); success yields full realm control, giving C:H/I:H/A:H.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Fine-Grained Admin Permissions (FGAP v2) feature of Keycloak, an identity and access management solution. The issue occurs when the system checks if a delegated administrator has permission to assign a specific role to a user. Because the check does not look inside composite roles to see what other permissions they contain, an administrator with limited rights can assign a role that secretly includes full administrative control. This allows the attacker to gain complete management access 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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-86588
GHSA-x6m6-7qg7-7r64
NVD
CVE.org
EPSS
VulDB
Exploit-DB