Build Of KeycloakApplication · Redhat

CVE-2026-9099

HIGH · 7.7 CVSS v3.1 Published 2026-06-25
Fix available
A fix is available. Upgrade to 26.4.13 / 26.6.4 or later.
See remediation →
83/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Keycloak contains a missing authorization check in the Admin REST API's GroupResource.addChild() endpoint. When Fine-Grained Admin Permissions v2 (FGAPv2) is enabled, an authenticated user with limited administrative privileges can reparent any group in the hierarchy, including highly privileged groups (e.g., those with realm-admin roles), under their managed group. This unauthorized reparenting grants the attacker management and password-reset capabilities over the targeted group's members, enabling full realm takeover.

MitigationApply the vendor-supplied patch for CVE-2026-9099 to add proper authorization checks in the GroupResource.addChild() endpoint. Until patched, consider disabling FGAPv2 if not required, and conduct immediate audit of group hierarchies for unauthorized parent-child relationships.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Build Of KeycloakApplication
Affected:>= 26.4, < 26.4.13>= 26.6, < 26.6.4

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
High
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify Keycloak version is within affected range
    Check the installed Keycloak version by reviewing the server logs at startup, the About section in the admin console, or the pom.xml/build metadata if self-hosted. Compare against affected versions: 26.4.0 through 26.4.12, or 26.6.0 through 26.6.3.
    Affected if The installed version falls within 26.4.0 <= version < 26.4.13 or 26.6.0 <= version < 26.6.4.
  2. Confirm FGAPv2 is enabled
    In the Keycloak admin console, navigate to Realm Settings > User Federation or check the realm configuration JSON for the 'fineGrainedAdminPermissions' or 'fgapV2' feature flag. Alternatively, query the realm representation via Admin REST API with GET /admin/realms/{realm} and look for FGAPv2-related settings.
    Affected if Fine-Grained Admin Permissions v2 (FGAPv2) is explicitly enabled in the realm configuration.
  3. Identify users with limited group management permissions
    Review admin roles assigned to non-admin users. In the admin console, go to Users > select a user > Role Mappings and check for 'manage-groups', 'manage-membership', or similar group-related admin permissions that are granted but do not include full realm-admin access.
    Affected if Non-realm-admin users exist who have any group management permissions (manage-groups, manage-membership, etc.).
  4. Review group hierarchy for suspicious reparenting
    In the admin console, navigate to Groups and examine the group tree structure. Specifically look for high-privilege groups (those containing realm-admin role mappings or serving as parent to groups with admin roles) appearing as children of groups owned by lower-privilege users. Check the Groups > [group] > Members to identify privilege levels.
    Affected if Realm-admin groups or groups with elevated privileges are found as child groups under groups managed by users who should not have administrative control over those high-privilege groups.
  5. Check admin API audit logs for reparenting operations
    Review Keycloak audit logs or the Admin Events endpoint (GET /admin/realms/{realm}/admin-events) for recent operations on the /groups/{id}/children endpoint, particularly operations performed by users without full realm-admin rights. Filter for 'CREATE' events on group resources.
    Affected if Recent 'CREATE' group operations via the addChild endpoint were performed by users lacking full realm-admin privileges, indicating potential exploitation.

A Keycloak deployment is affected if it runs a version between 26.4.0-26.4.12 or 26.6.0-26.6.3, has FGAPv2 enabled, and contains any non-realm-admin users with group management permissions, particularly if high-privilege groups have been reparented under lower-privilege user-managed groups.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 26.4.13 / 26.6.4 or later
Fixed in 26.4.1326.6.4
Interim mitigation

Apply the vendor-supplied patch for CVE-2026-9099 to add proper authorization checks in the GroupResource.addChild() endpoint. Until patched, consider disabling FGAPv2 if not required, and conduct immediate audit of group hierarchies for unauthorized parent-child relationships.

Recommended fix High confidence

Upgrade to Keycloak 26.4.13 or 26.6.4 (depending on current branch)

  1. 1. Identify the current Keycloak version by checking the server logs or startup banner
  2. 2. Determine which version branch (26.4.x or 26.6.x) is currently deployed
  3. 3. For 26.4.x versions: Upgrade Keycloak to version 26.4.13 or later
  4. 4. For 26.6.x versions: Upgrade Keycloak to version 26.6.4 or later
  5. 5. After upgrade, verify the GroupResource.addChild() endpoint now properly enforces authorization checks
  6. 6. Test that group reparenting is only allowed for groups the authenticated user has management permissions over
  7. 7. If using Fine-Grained Admin Permissions v2 (FGAPv2), verify that users cannot reparent groups outside their administrative scope
Caveat Review Keycloak 26.4.13 and 26.6.4 release notes for any other fixes that may affect custom extensions or configurations

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Build Of Keycloak Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA4.0 h
22.0 hours of engineering $3,860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-9099 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-9099 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data