Description
A flaw was found in the Keycloak identity and access management system when Fine-Grained Admin Permissions(FGAPv2) are enabled. An administrative user with the manage-users role can escalate their privileges to realm-admin due to improper privilege enforcement. This vulnerability allows unauthorized elevation of access rights, compromising the intended separation of administrative duties and posing a security risk to the realm.
Problem types
Product status
Any version before 26.2.6
26.2.6-1 (rpm) before *
26.2-6 (rpm) before *
26.2-6 (rpm) before *
Timeline
| 2025-07-18: | Reported to Red Hat. |
| 2025-07-18: | Made public. |
Credits
Red Hat would like to thank Patrick Kutz for reporting this issue.
References
access.redhat.com/errata/RHSA-2025:12015 (RHSA-2025:12015)
access.redhat.com/errata/RHSA-2025:12016 (RHSA-2025:12016)
access.redhat.com/security/cve/CVE-2025-7784
bugzilla.redhat.com/show_bug.cgi?id=2381861 (RHBZ#2381861)
github.com/keycloak/keycloak/issues/39956