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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-18 · Modified: 2026-05-06
- Aliases: CGA-hj4v-gwv8-3x77, CGA-q874-9ffj-r6hc, CGA-32p4-j4r3-8pv3, CGA-5p6g-f949-wcrr, CGA-9q2m-qmvr-5485, CGA-g88q-f8mw-mvxp, CGA-p77m-6x7g-qf4j, GHSA-27gp-8389-hm4w, CGA-vgcf-m7j4-hc77, CGA-x33c-4cpj-mp68, CGA-x37c-75w7-jcm5
- Record: https://cvemate.com/vulnerability/CVE-2025-7784 · JSON: https://cvemate.com/vulnerability/CVE-2025-7784/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.448%, percentile 40.7%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard keycloak (Chainguard): All versions (No fix recorded)
- chainguard keycloak-26.2 (Chainguard): \< 26.2.5-r6 \| All versions (No fix recorded)
- chainguard keycloak-26.2-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard keycloak-fips-26.2-iamguarded-fips (Chainguard): All versions (No fix recorded)
- wolfi keycloak (Wolfi): All versions (No fix recorded)
- org.keycloak keycloak-services (Maven): ≥ 26.2.0, \< 26.2.6
- redhat build\_of\_keycloak: na

## References

- <https://access.redhat.com/errata/RHSA-2025:12015>
- <https://access.redhat.com/errata/RHSA-2025:12016>
- <https://access.redhat.com/security/cve/CVE-2025-7784>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2381861>
- <https://github.com/keycloak/keycloak/issues/39956>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://access.redhat.com/jbossnetwork/restricted/listSoftware.html>
- <https://catalog.redhat.com/software/containers/>
- <https://github.com/keycloak/keycloak/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7784.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-7784>
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-27gp-8389-hm4w>
- <https://github.com/keycloak/keycloak/issues/41137>
- <https://github.com/keycloak/keycloak/pull/41168>
- <https://github.com/keycloak/keycloak>

---

Data as of 2026-12-05T09:58:24.302Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
