CVE-2025-7784 json
Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)
published last yr. modified 4mo ago also GHSA-27gp-8389-hm4w , EUVD-2025-21879
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.keycloak:keycloak-services 26.2.6
- Red Hat Red Hat build of Keycloak 26.2 26.2-6, 26.2.6-1
- github.com/keycloak/keycloak#41168 pull request
Is CVE-2025-7784 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-7784 updated cvss 6.5
org.keycloak/keycloak-services: Privilege Escalation in Keycloak Admin Console (FGAPv2 Enabled)
-
Red Hat build of Keycloak 26fixed: vendor fix RHSA-2025:12015
-
Red Hat build of Keycloak 26.2 rhbk/keycloak-rhel9 26.2-6, rhbk/keycloak-rhel9-operator 26.2-6, rhbk/keycloak-operator-bundle 26.2.6-1fixed: vendor fix RHSA-2025:12016
-
Red Hat JBoss Enterprise Application Platform 8 keycloak-services Red Hat JBoss Enterprise Application Platform Expansion Pack keycloak-services Red Hat Single Sign-On 7 keycloak-servicesnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | >=26.2.0, <26.2.6 |
26.2.6 |
Affected products
- Red Hat Red Hat build of Keycloak 26
- Red Hat Red Hat build of Keycloak 26.2
- 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
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
github.com
/keycloak/keycloak/pull/41168
web
-
access.redhat.com
/errata/RHSA-2025:12015
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2025:12016
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2025-7784
vdb-entry, web, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2381861
issue-tracking, web
- github.com /keycloak/keycloak/issues/39956
-
github.com
/keycloak/keycloak/security/advisories/GHSA-27gp-8389-hm4w
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-7784
advisory
-
github.com
/keycloak/keycloak/issues/41137
web
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2025-7784
- GitHub Advisory GHSA-27gp-8389-hm4w
- NVD CVE-2025-7784
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.