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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | — |
| Red Hat | Red Hat build of Keycloak 26.4.13 | — | — |
| Red Hat | Red Hat build of Keycloak 26.6 | — | — |
| Red Hat | Red Hat build of Keycloak 26.6.4 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | keycloak-26.5 +2 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 26.6.4 | 26.6.4 | GHSA-32h4-44jj-c5vx |
Advisories 1
- WID-SEC-2026-1708 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
References
- RHSA-2026:30049 vendor-advisory
- RHSA-2026:30050 vendor-advisory
- RHSA-2026:30083 vendor-advisory
- RHSA-2026:30084 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-9795 vdb-entry
- RHBZ#2482462 issue-tracking