patchminder
No public exploit found CVE-2026-9795

Privilege escalationin Red Hat build of Keycloak 26.4.

Published 28 May 2026 · Updated 15 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 26.6.4 or later
In plain words

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.

What to do now
  • Upgrade org.keycloak:keycloak-services (Maven) to 26.6.4 or later.
  • Can't upgrade today? 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Red Hat build of Keycloak 26.4
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 26.4.13
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 26.6
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 26.6.4
Not confirmed
Not confirmed
CVE record
org.keycloak:keycloak-services (Maven)
before 26.6.4
26.6.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 28 May 2026
    CVE ID reserved by redhat.
  2. 28 May 2026
    Published in the CVE List.
  3. 15 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other build of Keycloak 26.4 vulnerabilities

Same weakness: Incorrect privilege assignment

All CWE-266 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-9795: Privilege escalation in Red Hat build of Keycloak 26.4. https://patchminder.com/cve/cve-2026-9795/ (accessed 5 December 2026).