CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NMedium (6.5) in redhat build of keycloak. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-server 26.6.4.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Norg.keycloak:keycloak-server (Maven): fixed in 26.6.4Explain CVE-2026-9796 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-9796?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-9796?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-9796 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.6 | 26.6.6-1 |
| Red Hat build of Keycloak 26.6 | 26.6-12 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-pq65-77rc-7r8c | Maven | org.keycloak:keycloak-server | <26.6.4 | 26.6.4 |
Red Hat rates this Moderate.
A Moderate privilege escalation flaw exists in Keycloak where an authenticated administrator with `manage-clients` privileges can exploit a Time-of-Check to Time-of-Use (TOCTOU) vulnerability. This allows them to escalate their privileges to `realm-admin` for all users within the realm, impacting the integrity of role-based access control.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-operator-bundle:26.6.6-1 | Fixed 2026-08-18 | RHSA-2026:56524 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9:26.6-12 | Fixed 2026-08-18 | RHSA-2026:56524 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9-operator:26.6-12 | Fixed 2026-08-18 | RHSA-2026:56524 |
| Red Hat build of Keycloak 26.6.6 | rhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | Fixed 2026-08-18 | RHSA-2026:56523 |
| Red Hat Build of Keycloak | rhbk/keycloak-rhel9 | Will not fix |
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-9796.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.