Skip to main content

Keycloak EUVDEUVD-2026-86588

| CVE-2026-96448 MEDIUM
Improper Authorization (CWE-285)
2026-09-25 redhat GHSA-x6m6-7qg7-7r64
6.6
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as delegated admin
  2. Delivery
    Identify composite role containing admin permissions
  3. Exploit
    Assign composite role to controlled user
  4. Execution
    Inherit full realm-admin rights
  5. Impact
    Take 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 6.6 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

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.

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 6.6 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
Keycloak/Red Hat SSO is a widely-deployed enterprise open-source IAM platform
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2014-3709 HIGH POC
8.8 Oct 18

The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2023-6563 HIGH POC
7.7 Dec 14

An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne

CVE-2022-1466 MEDIUM POC
6.5 Apr 26

Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be

CVE-2017-7474 CRITICAL
9.8 May 12

It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2022-1245 CRITICAL
9.8 Jul 08

A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi

CVE-2019-14910 CRITICAL
9.8 Dec 05

A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in

CVE-2021-20195 CRITICAL
9.6 May 28

A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote

CVE-2023-6134 MEDIUM POC
5.4 Dec 14

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t

CVE-2022-0225 MEDIUM POC
5.4 Aug 26

A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy