{"id":"CVE-2025-7784","summary":"Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)","details":"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.","aliases":["GHSA-27gp-8389-hm4w"],"modified":"2026-07-16T03:48:08.244564597Z","published":"2025-07-18T13:48:45.713Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7784.json","cna_assigner":"redhat","cwe_ids":["CWE-269"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12015"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12016"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-7784"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7784.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7784"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2381861"},{"type":"REPORT","url":"https://github.com/keycloak/keycloak/issues/39956"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"fixed":"51bd67030d264a6f001de425ce558fad55970336"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"26.2.6"}],"source":"AFFECTED_FIELD"}}],"versions":["2.4.0.Test","1.3.0.Final","1.1.0.Beta2","1.0.0.Final","1.0-final","1.0-rc-1","1.0-beta-4","1.0-beta-2","1.0-beta-1","1.0-alpha-3","1.0-alpha-2","1.0-alpha-1","1.0-alpha-1-12062013"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7784.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}