CVE-2026-9099
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 · uneditedA 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 confidenceKeycloak 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.
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>= 26.4, < 26.4.13>= 26.6, < 26.6.4CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Verify Keycloak version is within affected rangeCheck 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.
-
Confirm FGAPv2 is enabledIn 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.
-
Identify users with limited group management permissionsReview 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.).
-
Review group hierarchy for suspicious reparentingIn 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.
-
Check admin API audit logs for reparenting operationsReview 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.
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 · scoped26.4.1326.6.4
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.
Upgrade to Keycloak 26.4.13 or 26.6.4 (depending on current branch)
- 1. Identify the current Keycloak version by checking the server logs or startup banner
- 2. Determine which version branch (26.4.x or 26.6.x) is currently deployed
- 3. For 26.4.x versions: Upgrade Keycloak to version 26.4.13 or later
- 4. For 26.6.x versions: Upgrade Keycloak to version 26.6.4 or later
- 5. After upgrade, verify the GroupResource.addChild() endpoint now properly enforces authorization checks
- 6. Test that group reparenting is only allowed for groups the authenticated user has management permissions over
- 7. If using Fine-Grained Admin Permissions v2 (FGAPv2), verify that users cannot reparent groups outside their administrative scope
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-9099 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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