Skip to content
Fencer Intel
medium 6.5

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

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 Fencer

Vendor 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 26
    fixed: 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-1
    fixed: 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-services
    not 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

Sources

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.