{"schemaVersion":3,"id":"CVE-2025-7784","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"],"status":"published","duplicateOf":null,"title":null,"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 posing a security risk to the realm.","dates":{"published":"2025-07-18T13:48:45.713Z","modified":"2026-05-06T16:48:58.281Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":3.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":3.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":3.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00452,"percentile":0.37903,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.05599999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00396},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00452,"percentile":0.37903}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00452,"percentile":0.37903}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"chainguard","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.2","name":"keycloak-26.2","label":"keycloak-26.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.2","purlType":"apk","versions":[{"text":"< 26.2.5-r6","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 26.2.5-r6 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.2-iamguarded-compat","name":"keycloak-26.2-iamguarded-compat","label":"keycloak-26.2-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.2-iamguarded-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-fips-26.2-iamguarded-fips","name":"keycloak-fips-26.2-iamguarded-fips","label":"keycloak-fips-26.2-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.2-iamguarded-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.keycloak","product":"keycloak-services","name":"org.keycloak:keycloak-services","label":"keycloak-services","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.keycloak/keycloak-services","purlType":"maven","versions":[{"text":"≥ 26.2.0, < 26.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 26.2.0, < 26.2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"build_of_keycloak","name":"build of keycloak","label":"build_of_keycloak","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/redhat/build_of_keycloak"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12015","label":"access.redhat.com/errata/RHSA-2025:12015","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2025:12016","label":"access.redhat.com/errata/RHSA-2025:12016","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory","WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-7784","label":"access.redhat.com/security/cve/CVE-2025-7784","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory","WEB","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2381861","label":"bugzilla.redhat.com/show_bug.cgi?id=2381861","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","WEB"]},{"url":"https://github.com/keycloak/keycloak/issues/39956","label":"github.com/keycloak/keycloak/issues/39956","hostname":"github.com","tags":["REPORT"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","label":"access.redhat.com/downloads/content/package-browser/","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html","label":"access.redhat.com/jbossnetwork/restricted/listSoftware.html","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://catalog.redhat.com/software/containers/","label":"catalog.redhat.com/software/containers/","hostname":"catalog.redhat.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/","label":"github.com/keycloak/keycloak/","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7784.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7784.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7784","label":"nvd.nist.gov/vuln/detail/CVE-2025-7784","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-27gp-8389-hm4w","label":"github.com/keycloak/keycloak/security/advisories/GHSA-27gp-8389-hm4w","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/issues/41137","label":"github.com/keycloak/keycloak/issues/41137","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/pull/41168","label":"github.com/keycloak/keycloak/pull/41168","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak","label":"github.com/keycloak/keycloak","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-MH83-V5C2-V9HM"]},"timeline":[{"kind":"published","date":"2025-07-18T13:48:45.713Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-06T16:48:58.281Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:17:41.669Z","stale":false,"partial":false}}