CVE-2025-7784
Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)
MEDIUM 6.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.45 % · percentile 39 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-269 — Improper Privilege Management
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-27gp-8389-hm4w — Keycloak Privilege Escalation Vulnerability in Admin Console (FGAPv2 Enabled)
European references
- ENISA EUVD · EUVD-2025-21879
- GCVE · GCVE-0-2025-7784
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
Affected products
| Product | Versions |
|---|---|
| keycloak | affected 0 < 26.2.6 |
| Red Hat · Red Hat build of Keycloak 26 | |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.6-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-6 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-6 < * |
| Red Hat · Red Hat JBoss Enterprise Application Platform 8 | |
| Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack | |
| Red Hat · Red Hat Single Sign-On 7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |