{"schemaVersion":3,"id":"GHSA-8HCX-P7M8-GC28","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Duplicate Advisory: Keycloak has privilege escalation via improper scope mapping enforcement\n\n### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-32h4-44jj-c5vx. This link is maintained to preserve external references.\n\n### Original Description\nA flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management permissions can exploit this vulnerability to assign any realm role, including highly privileged roles, to a client's scope mapping. This bypasses intended security controls, allowing the injected role to be projected into a user's authentication token when they access the modified client. This could lead to unauthorized privilege escalation within the Keycloak realm.","dates":{"published":"2026-05-28T06:31:09.000Z","modified":"2026-07-01T21:30:19.055Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","computed":true,"selection":"version-preference"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","exploitability":2.6,"impact":9.7,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"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":[],"affected":[{"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.6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.4","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9795","label":"nvd.nist.gov/vuln/detail/CVE-2026-9795","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30049","label":"access.redhat.com/errata/RHSA-2026:30049","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30050","label":"access.redhat.com/errata/RHSA-2026:30050","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30083","label":"access.redhat.com/errata/RHSA-2026:30083","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30084","label":"access.redhat.com/errata/RHSA-2026:30084","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-9795","label":"access.redhat.com/security/cve/CVE-2026-9795","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482462","label":"bugzilla.redhat.com/show_bug.cgi?id=2482462","hostname":"bugzilla.redhat.com","tags":["WEB"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9795.json","hostname":"security.access.redhat.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["CVE-2026-9795"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-28T06:31:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-01T21:30:19.055Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T04:15:28.388Z","stale":false,"partial":false}}