Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain sub-admin credentials with user-create scope
-
DeliveryAccess Keycloak admin console over network
-
ExploitEnable or confirm FGAP V2 is active
-
ExecutionCreate new user and assign to unauthorized privileged group
-
PersistAuthenticate as newly created user
-
ImpactAccess sensitive resources via unauthorized group membership
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 | Fine-Grained Admin Permissions V2 (FGAP V2) must be explicitly enabled in the Keycloak realm - this is a non-default configuration that must be intentionally activated. The attacker must hold an authenticated sub-administrator account (CVSS PR:H) with the specific delegated permission to create users within that realm. Environments running Keycloak with default or simple administrator roles and no FGAP V2 delegation configured are not affected by this vulnerability. Exploitation is further limited by the need for network access to the Keycloak admin console interface. The condition that limits harm post-exploitation is that the attack requires the sub-admin to have already been granted legitimate (though scoped) access - this is not an external unauthenticated vector. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) yields a 7.2 High score, but PR:H substantially narrows exploitability - the attacker must already possess an authenticated sub-administrator account with user creation rights. EPSS at 0.24% (15th percentile) is low and aligns with SSVC's confirmed 'Exploitation: none' status. SSVC's 'Automatable: no' further indicates this is not a spray-and-pray scenario. The A:H component of the vendor CVSS vector appears inflated relative to the described impact, which is exclusively about unauthorized group membership assignment - no availability disruption is described. Despite SSVC's 'Technical Impact: total' rating, this reflects potential worst-case scope rather than exploitability ease. Real-world risk is context-dependent: organizations that have deployed FGAP V2 for delegated admin models face meaningful insider-threat or compromised-sub-admin risk, while those using standard admin roles are unaffected. |
| Exploit ScenarioDerived | An attacker controlling a sub-administrator account with user-create permission - whether through credential theft, insider access, or social engineering - logs into the Keycloak admin console of an instance with FGAP V2 enabled. During user creation, they assign the new account to a privileged group (e.g., a finance or platform-admin group) that their sub-admin role does not authorize them to manage. The new account then gains access to sensitive resources and elevated capabilities protected by that group's membership, bypassing the intended scope boundaries of delegated administration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 07, 2026
Privilege escalation in Red Hat Build of Keycloak's user creation component exposes environments running Fine-Grained Admin Permissions V2 (FGAP V2) to unauthorized group assignment by scoped sub-administrators. A sub-admin holding only user-create permissions can bypass group-level authorization checks and enroll newly created users into any group - including privileged or sensitive ones - well beyond the sub-admin's delegated scope. SSVC rates technical impact as total and no public exploit has been identified, though the EPSS score of 0.24% (15th percentile) and SSVC exploitation status of 'none' indicate low immediate exploitation likelihood.
Earlier versions of this analysis (1)
Keycloak's user creation component fails to enforce group-level authorization when Fine-Grained Admin Permissions V2 (FGAP V2) is enabled, allowing a sub-administrator to assign newly created users to any group - including privileged groups the sub-admin has no rights to manage. Affected deployments span Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and JBoss EAP Expansion Pack. No public exploit code exists and the vulnerability is not listed in CISA KEV, but successful exploitation enables unauthorized privilege escalation for the created accounts, bypassing FGAP V2's intended delegation boundaries.
RemediationAI
Consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-18571 for patched package versions - exact fix versions are not confirmed in the available data and should not be inferred. As an immediate compensating control, disable Fine-Grained Admin Permissions V2 (FGAP V2) if not operationally required; this eliminates the vulnerable code path entirely but removes delegated admin granularity, requiring affected organizations to revert to realm-level administration. If FGAP V2 must remain enabled, audit all group memberships of users created since FGAP V2 was activated, revoke any unauthorized group assignments, and restrict sub-administrator accounts to the narrowest possible permission sets pending patch application. Monitor Bugzilla #2509759 for patch release status.
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 Red Hat's open-source identity and access management platform implementing OAuth 2.0, OpenID Connect, and SAML. Fine-Grained Admin Permissions V2 (FGAP V2) is a delegation feature that allows realm administrators to create scoped sub-administrator roles with bounded permissions - such as permitting a sub-admin to create users but not manage certain groups. The root cause is CWE-862 (Missing Authorization): the user creation workflow fails to enforce group-scope authorization when assigning group memberships, allowing the group-write operation to proceed without validating whether the calling sub-admin holds authorization over the target group. CPE data confirms the flaw spans Red Hat Build of Keycloak, Red Hat Data Grid 8 (which integrates Keycloak for SSO), Red Hat JBoss EAP Expansion Pack, and Red Hat Single Sign-On 7.
Know when Red Hat Build Of 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:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Sub-admin credential required (PR:H), admin console exposed over network (AV:N); no availability impact is described or implied in the group-assignment attack path.
Primary rating from Vendor (redhat).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
A flaw was found in the user creation component of Keycloak when Fine-Grained Admin Permissions V2 (FGAP V2) is enabled. This issue allows a sub-administrator with permission to create users to add those users to any group, even groups the sub-administrator is not authorized to manage. This could lead to unauthorized access to sensitive information or elevated privileges for the newly created users.
Executive ViewAI
A privilege escalation vulnerability in Red Hat Keycloak's Fine-Grained Admin Permissions V2 component allows lower-privileged administrators to assign newly created users to sensitive groups without authorization, potentially expanding their control beyond delegated scope. Organizations running Keycloak with FGAP V2 enabled face elevated risk of insider-driven privilege escalation and unauthorized access to protected resources. While current exploitation likelihood remains low, the vulnerability directly compromises identity governance controls protecting sensitive applications and data.
No vendor-released patch identified at time of analysis. Restrict sub-admin account scopes to enforce principle of least privilege; implement comprehensive logging of all admin operations and group membership assignments; audit and restrict group assignment permissions on administrative accounts; conduct quarterly access reviews of sensitive group memberships to detect unauthorized additions; establish real-time monitoring and alerts for unexpected group assignments by administrative users.
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)NVD
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
Debian
Bug #1088287| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| open | - | - |
EUVD-2026-51925
GHSA-5vmc-qhfj-qxc3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB