CVE-2026-9796
Last modified
CVE-2026-9796 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | All versions |
References
- https://access.redhat.com/security/cve/CVE-2026-9796Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482464Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-9796?
How severe is CVE-2026-9796?
How do I fix CVE-2026-9796?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9789A Local Privilege Escalation (LPE) vulnerability affects Ace…8.5
- CVE-2026-9791A flaw was found in Keycloak. An authenticated user with exi…4.3
- CVE-2026-9792A flaw was found in Keycloak's Client Policies, specifically…6.5
- CVE-2026-9793A flaw was found in Keycloak. When a JSON Web Encryption (JW…7.5
- CVE-2026-9794A flaw was found in Keycloak. A remote, unauthenticated atta…5.3
- CVE-2026-9795A flaw was found in Keycloak's Fine-Grained Admin Permission…7.3
- CVE-2026-9798A flaw was found in Keycloak, an open-source identity and ac…4.3
- CVE-2026-9799A flaw was found in org.keycloak.authorization. An authentic…4.6
- CVE-2026-9800A flaw was found in Keycloak Policy Enforcer. This vulnerabi…8.1
- CVE-2026-9801A flaw was found in Keycloak. A remote attacker with high pr…4.9
- CVE-2026-9802A flaw was found in Keycloak. When revokeRefreshToken=true i…6.8
- CVE-2026-9803A flaw was found in Keycloak's ClientRegistrationAuth compon…5.3
Are you affected by CVE-2026-9796?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
