CVE-2026-9796Redhat Build Of Keycloak
Medium 6.5
Follow: this CVE · Redhat · Redhat Build Of Keycloak We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- May 28, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-367
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
What happens
A flaw was found in Keycloak. An authenticated administrator with the `manage-clients` role can exploit a Time-of-check to time-of-use (TOCTOU) vulnerability in the name-based admin role checks. This allows the attacker to escalate their privileges to `realm-admin` for all users within the realm, granting them extensive control over the system. The composite role relationship persists even after the attacker's own permissions are revoked and across system reboots.
What to do
- Apply the vendor's security update for Build Of Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-server |
< 26.6.4 |
26.6.4 |
— |
Per OSV / GitHub Advisories (GHSA-pq65-77rc-7r8c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | build_of_keycloak | all |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- access.redhat.com
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory