# CVE-2025-7784: Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-07-18T13:48:45.713Z
- Modified: 2026-06-17T10:05:39.140Z
- Also known as: GHSA-27gp-8389-hm4w
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- keycloak: before 26.2.6
- keycloak-services: no versions given
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.2.6-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.2-6 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.2-6 before *)
- org.keycloak:keycloak-services (Maven): from 26.2.0 before 26.2.6
- redhat build_of_keycloak: no versions given

## Every score

- redhat: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2025:12015> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:12016> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-7784> (vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2381861> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/issues/39956>
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-27gp-8389-hm4w> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-7784> (advisory)
- <https://github.com/keycloak/keycloak/issues/41137> (web)
- <https://github.com/keycloak/keycloak/pull/41168> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2025-7784](https://www.cve.org/CVERecord?id=CVE-2025-7784), CVE Terms of Use, modified 2026-05-06
- GitHub Advisory Database: [GHSA-27gp-8389-hm4w](https://github.com/advisories/GHSA-27gp-8389-hm4w), CC-BY-4.0, modified 2025-07-30
- NVD: [CVE-2025-7784](https://nvd.nist.gov/vuln/detail/CVE-2025-7784), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7784 · Whole record: https://cve.day/CVE-2025-7784.json · Rebuilt by cve.day 2026-11-25T22:59:01.413Z
