CVE-2026-18571: Keycloak-services: keycloak-services: fgap v2 group assignment bypass during user creation

Published Jul 31, 2026
·
Updated

A Broken Access Control vulnerability was identified in Keycloaks Fine-Grained Admin Permissions V2 (FGAP V2) implementation. The flaw exists in the POST /admin/realms/{realm}/users endpoint, where the server fails to validate group membership permissions within the user creation payload. While Keycloak correctly enforces manage-membership scopes for existing users, it misses this check during the initial user creation process. A sub-administrator with user create scope but restricted group manage-membership scope can successfully assign a new user to unauthorized groups by including them in the creation request. Concrete impact: An attacker with sub-admin privileges can elevate the permissions of new users, grant them access to restricted data by placing them in sensitive groups, and bypass the security boundaries established by FGAP V2.

Other sources

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.

MITRE

Affected Software

2 affected components
Keycloak Keycloak=undefined
redhat Build Of Keycloak

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable FGAP V2 in Keycloak to avoid the group membership permission check bypass in user creation (vulnerability affects POST /admin/realms/{realm}/users when FGAP V2 is enabled).

    Keycloak Fine-Grained Admin Permissions V2 (FGAP V2) Fine-Grained Admin Permissions V2 (FGAP V2) enabled = disabled
  2. Compensating control

    As a compensating control, restrict who can call POST /admin/realms/{realm}/users (user creation) so that sub-administrators with user-create scope cannot assign users to unauthorized groups. For example, limit access to that endpoint to fully trusted admin roles.

Event History

Jul 31, 2026
Data Sourced
via Red Hat·12:30 PM
DescriptionSeverityAffected Software
Aug 2, 2026
CVE Published
via MITRE·05:18 AM
Data Sourced
via MITRE·05:18 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-18571?

The severity of CVE-2026-18571 is medium with a score of 6.6.

2

How do I fix CVE-2026-18571?

To fix CVE-2026-18571, ensure that access control validation for group membership is implemented correctly during the user creation process.

3

What type of vulnerability is CVE-2026-18571?

CVE-2026-18571 is a Broken Access Control vulnerability.

4

Which software is affected by CVE-2026-18571?

CVE-2026-18571 affects Keycloak services, specifically the Fine-Grained Admin Permissions V2 (FGAP V2) implementation.

5

What is the impact of exploiting CVE-2026-18571?

Exploiting CVE-2026-18571 could allow unauthorized group assignments during user creation, leading to potential privilege escalation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203