{"id":"CVE-2025-7784","published":"2025-07-18T13:48:45Z","modified":"2026-05-06T16:48:58Z","title":"Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)","vendor":"Red Hat","product":"Red Hat build of Keycloak 26","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.39831,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12015","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:12016","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-7784","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2381861","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/issues/39956","tags":[]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":7.97},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 26.2.6"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-18T14:46:09.378551Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":[">=26.2.0, <26.2.6"],"patched":["26.2.6"],"from":["GHSA-27gp-8389-hm4w"],"provenance":"source"}],"summary":{"text":"The flaw lies in the admin console of Keycloak, the identity and access management system, specifically in Red Hat build of Keycloak 26 when Fine-Grained Admin Permissions (FGAPv2) are enabled. An attacker who already holds the manage-users role, which requires authenticated administrative access over the network, can escalate their privileges to realm-admin because privileges are not properly enforced, bypassing the intended separation of administrative duties.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:58Z"},"euvd":{"id":"EUVD-2025-21879","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-3910","published":"2025-04-29","fixed":"26.2.2","kev":false},{"cve":"CVE-2025-12110","published":"2025-10-23","fixed":"26.2.3","kev":false},{"cve":"CVE-2025-7365","published":"2025-07-10","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-7784","published":"2025-07-18","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-8419","published":"2025-08-06","fixed":"26.3.3","kev":false,"link":{"from":"CVE-2025-7784","to":"CVE-2025-8419","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.2.6","toFixed":"26.2.8","daysApart":19}]}},{"cve":"CVE-2025-11429","published":"2025-10-23","fixed":"26.4.1","kev":false},{"cve":"CVE-2025-12150","published":"2026-02-27","fixed":"26.4.4","kev":false}],"package":"Maven:org.keycloak:keycloak-services"}}