CVSS 3.1
7.3 highCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:NHigh (7.3) in redhat build of keycloak. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 26.6.4.
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:Norg.keycloak:keycloak-services (Maven): fixed in 26.6.4Explain CVE-2026-9795 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-9795?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-9795?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-9795 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat build of Keycloak 26.4 | 26.4.13-1 |
| Red Hat build of Keycloak 26.4 | 26.4-19 |
| Red Hat build of Keycloak 26.6 | 26.6.4-2 |
| Red Hat build of Keycloak 26.6 | 26.6-8 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-32h4-44jj-c5vx | Maven | org.keycloak:keycloak-services | <26.6.4 | 26.6.4 |
Red Hat rates this Important.
This is an Important privilege escalation flaw in Keycloak when Fine-Grained Admin Permissions (FGAPv2) are enabled. An attacker with fine-grained client management permissions can bypass role mapping restrictions, allowing them to inject arbitrary realm roles into a client's scope. Subsequent authentication by a privileged user through the compromised client would then project these injected roles into their token, leading to unauthorized access. Exploitation requires specific administrative preconditions and user interaction.
To mitigate this issue, disable the Fine-Grained Admin Permissions (FGAPv2) feature in Keycloak if it is not strictly required. This can typically be done by setting `adminPermissionsEnabled` to `false` in the realm configuration. Disabling FGAPv2 will prevent the exploitation of this flaw by removing the vulnerable functionality. However, this may impact administrative delegation capabilities within Keycloak. A restart or reload of the Keycloak service may be required for the changes to take effect.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-operator-bundle:26.4.13-1 | Fixed 2026-06-25 | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9:26.4-19 | Fixed 2026-06-25 | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9-operator:26.4-19 | Fixed 2026-06-25 | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4.13 | rhbk/keycloak-rhel9 | Fixed 2026-06-25 | RHSA-2026:30049 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-operator-bundle:26.6.4-2 | Fixed 2026-06-25 | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9:26.6-8 | Fixed 2026-06-25 | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9-operator:26.6-8 | Fixed 2026-06-25 | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6.4 | rhbk/keycloak-rhel9 | Fixed 2026-06-25 | RHSA-2026:30083 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-9795.