{"schemaVersion":3,"id":"CVE-2026-9795","aliases":["CGA-23rc-6f8g-qw94","CGA-2f7r-vgwx-x6fc","CGA-3gqx-h7fp-w7c5","CGA-4mmc-225j-grxf","CGA-69fp-8ppp-rxh8","CGA-6wch-46c7-fhm8","CGA-8hf7-q7r6-4jxc","CGA-9q98-6g5m-394j","CGA-cpqm-ccq7-r3gr","CGA-gchc-978r-f84c","CGA-gfv9-c56q-c8w4","CGA-hp38-hpqv-97m3","CGA-p65x-g5cg-w6ff","CGA-rf6f-v24j-q7q9","CGA-w7p7-48jj-pfj5","CGA-x8p2-2ph3-w3v9","CGA-256p-8rp9-c9g8","CGA-26gp-pqvg-8pjp","CGA-3wp4-c5ww-8r8v","CGA-4cw8-2h3p-38rm","CGA-56rp-p5cg-m2p7","CGA-5c5j-gpwp-rp2x","CGA-5wm5-qv4r-fv4w","CGA-63r5-6wgg-cx62","CGA-6r9c-h68x-5pmp","CGA-7fx4-qcvq-p674","CGA-8q98-fc38-73q2","CGA-9g49-hjm9-3f2m","CGA-9pqm-p27j-7qq2","CGA-gjjh-cf3g-946r","CGA-hmw7-xg9m-jmm7","CGA-hww3-65gw-v554","CGA-m7h4-49f7-hr8p","CGA-mjww-wf5f-hjxh","CGA-p287-4x9x-4qx3","CGA-p67v-mfjv-j8rh","CGA-pw78-mvpq-9g67","GHSA-32h4-44jj-c5vx","CGA-qqrv-gcj3-q99v","CGA-rf97-w2hh-93px","CGA-rgr9-mhvp-9853","CGA-rh2c-4x7v-4rj2","CGA-vp29-vp3q-qpv9","CGA-wfhm-9744-7xpr","CGA-wfxh-5xxm-764q","CGA-x48j-p6c2-mrgw","CGA-x9rf-mp92-53hq","CGA-xf5c-v8jp-h9gr","CGA-xmr4-px58-gvfm"],"status":"published","duplicateOf":null,"title":null,"description":"A 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-28T03:49:10.874Z","modified":"2026-07-15T00:38:31.100Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","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},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","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},{"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},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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":null,"impact":null,"computed":false}]},"epss":{"probability":0.00492,"percentile":0.41325,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.13799999999999998,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00354},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00492,"percentile":0.41325}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00354,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00492,"percentile":0.41325}]},"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-266","name":"Incorrect Privilege Assignment","description":"A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/266.html"}],"affected":[{"vendor":"chainguard","product":"keycloak-26.4","name":"keycloak-26.4","label":"keycloak-26.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.4","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.4-iamguarded-compat","name":"keycloak-26.4-iamguarded-compat","label":"keycloak-26.4-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.4-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-26.5","name":"keycloak-26.5","label":"keycloak-26.5","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.5","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.5-iamguarded-compat","name":"keycloak-26.5-iamguarded-compat","label":"keycloak-26.5-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.5-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.4","name":"keycloak-fips-26.4","label":"keycloak-fips-26.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.4","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.4-iamguarded-fips","name":"keycloak-fips-26.4-iamguarded-fips","label":"keycloak-fips-26.4-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.4-iamguarded-fips","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.5","name":"keycloak-fips-26.5","label":"keycloak-fips-26.5","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.5","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.5-iamguarded-fips","name":"keycloak-fips-26.5-iamguarded-fips","label":"keycloak-fips-26.5-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.5-iamguarded-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"request-9047-keycloak-fips-26.4","name":"request-9047-keycloak-fips-26.4","label":"request-9047-keycloak-fips-26.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/request-9047-keycloak-fips-26.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"request-9047-keycloak-fips-26.4-iamguarded-fips","name":"request-9047-keycloak-fips-26.4-iamguarded-fips","label":"request-9047-keycloak-fips-26.4-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/request-9047-keycloak-fips-26.4-iamguarded-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"request-9047-keycloak-fips-26.5","name":"request-9047-keycloak-fips-26.5","label":"request-9047-keycloak-fips-26.5","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/request-9047-keycloak-fips-26.5","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"request-9047-keycloak-fips-26.5-iamguarded-fips","name":"request-9047-keycloak-fips-26.5-iamguarded-fips","label":"request-9047-keycloak-fips-26.5-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/request-9047-keycloak-fips-26.5-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-26.4","name":"keycloak-26.4","label":"keycloak-26.4","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-26.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-26.4-iamguarded-compat","name":"keycloak-26.4-iamguarded-compat","label":"keycloak-26.4-iamguarded-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-26.4-iamguarded-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-26.5","name":"keycloak-26.5","label":"keycloak-26.5","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-26.5","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-26.5-iamguarded-compat","name":"keycloak-26.5-iamguarded-compat","label":"keycloak-26.5-iamguarded-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-26.5-iamguarded-compat","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.6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.4","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":18,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:30049","label":"access.redhat.com/errata/RHSA-2026:30049","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30050","label":"access.redhat.com/errata/RHSA-2026:30050","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30083","label":"access.redhat.com/errata/RHSA-2026:30083","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30084","label":"access.redhat.com/errata/RHSA-2026:30084","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","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":["VDB Entry","X Refsource REDHAT","WEB","Mitigation","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482462","label":"bugzilla.redhat.com/show_bug.cgi?id=2482462","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","WEB","Vendor Advisory"]},{"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":["X Sadp Csaf Vex","WEB"]},{"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://github.com/keycloak/keycloak/security/advisories/GHSA-32h4-44jj-c5vx","label":"github.com/keycloak/keycloak/security/advisories/GHSA-32h4-44jj-c5vx","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/issues/50350","label":"github.com/keycloak/keycloak/issues/50350","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/pull/50451","label":"github.com/keycloak/keycloak/pull/50451","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/commit/8894c027e788904c740ff9a1a60fcfaa34a10d13","label":"github.com/keycloak/keycloak/commit/8894c027e788904c740ff9a1a60fcfaa34a10d13","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak","label":"github.com/keycloak/keycloak","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":["GHSA-8HCX-P7M8-GC28"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-28T03:49:10.874Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T00:38:31.100Z","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-22T05:41:36.973Z","stale":false,"partial":false}}