CVE-2025-7784
published medium CVSS 3.1 · 6.5Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | keycloak0 to < 26.2.6 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat build of Keycloak 26 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.2 · 26.2.6-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.2 · 26.2-6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.2 · 26.2-6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keycloak | 0 to < 26.2.6 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat build of Keycloak 26 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2.6-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-269 Improper Privilege Management
References
5- RHSA-2025:12015 https://access.redhat.com/errata/RHSA-2025:12015
- RHSA-2025:12016 https://access.redhat.com/errata/RHSA-2025:12016
- https://access.redhat.com/security/cve/CVE-2025-7784
- RHBZ#2381861 https://bugzilla.redhat.com/show_bug.cgi?id=2381861
- https://github.com/keycloak/keycloak/issues/39956
Provider assertions
2redhat · cna
Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 00ac41f07fe0f1af0f8487529e58db83a8360792fb733f88bfa6e568937a6621
- Ingested
- 23 Sep 2026, 08:58:42 UTC
- Source record
- Official CVE record