CVE-2025-7784
MEDIUM 6.5CVSS 3.1Keycloak Privilege Escalation Vulnerability in Admin Console (FGAPv2 Enabled)
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.
- Published
- 18 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-27gp-8389-hm4w
- Sources
- NVDJSONOSV GHSA-27gp-8389-hm4wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | build_of_keycloakcpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:* |
(no version) | |
| OSV | Maven | org.keycloak:keycloak-services | >= 26.2.0, < 26.2.6 | 26.2.6 |
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 · 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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jul 2025)