{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-7784","id":"CVE-2025-7784","title":"Org.keycloak/keycloak-services: privilege escalation in keycloak admin console (fgapv2 enabled)","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 posin","descriptionLong":"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":"2025-07-18T13:48:45.713Z","updated":"2026-10-28T02:31:03.239669902Z","reserved":"2025-07-18T06:05:57.305Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["keycloak","Red Hat build of Keycloak 26","Red Hat build of Keycloak 26.2","Red Hat JBoss Enterprise Application Platform 8","Red Hat JBoss Enterprise Application Platform Expansion Pack","Red Hat Single Sign-On 7"],"affectedProducts":[{"vendor":"","product":"keycloak","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"26.2.6","versionType":"semver"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","defaultStatus":"affected","versions":[{"version":"26.2.6-1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","defaultStatus":"affected","versions":[{"version":"26.2-6","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","defaultStatus":"affected","versions":[{"version":"26.2-6","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","defaultStatus":"unaffected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":[">=26.2.0 <26.2.6"],"fixed":["26.2.6"],"advisory":"GHSA-27gp-8389-hm4w"}],"cwes":["CWE-269"],"aliases":["GHSA-27gp-8389-hm4w"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12015","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2025:12016","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-7784","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2381861","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","report","web"]},{"url":"https://github.com/keycloak/keycloak/issues/39956","tags":["report"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7784.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7784","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-27gp-8389-hm4w","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/issues/41137","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/pull/41168","tags":["web"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00452,"epssPercentile":0.39986,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-7784","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7784","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-7784","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-27gp-8389-hm4w","ok":true,"note":"GHSA-27gp-8389-hm4w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-7784","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}