Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 94%

CVE-2026-9796: Time-of-check Time-of-use (TOCTOU) Race Condition in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2026-9796cvecve-2026-9796
Published: Thu May 28 2026 (05/28/2026, 04:27:08 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

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.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/28/2026, 13:03:30 UTC

Technical Analysis

This vulnerability involves a TOCTOU race condition in the name-based administrative role checks within Red Hat's build of Keycloak. Specifically, an authenticated user with the 'manage-clients' role can exploit the timing flaw to escalate their privileges to 'realm-admin' across all users in the realm. The privilege escalation is persistent, remaining effective even after the attacker's initial permissions are revoked and after system reboots. The flaw impacts the integrity and confidentiality of the system by granting unauthorized administrative control. The CVSS 3.1 vector indicates network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high impact on confidentiality and integrity but no impact on availability.

Potential Impact

Successful exploitation results in privilege escalation from 'manage-clients' to 'realm-admin' for all users within the realm, granting extensive administrative control. This elevated access persists beyond revocation of the attacker's original permissions and system reboots, potentially allowing long-term unauthorized control. The vulnerability compromises confidentiality and integrity of the system but does not affect availability. No known exploits have been reported in the wild to date.

Mitigation Recommendations

Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-9796 for current remediation guidance. Until an official fix is available, restrict 'manage-clients' role assignments to trusted administrators only and monitor for unusual privilege escalations. Follow vendor updates closely for patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-05-28T03:31:58.205Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-9796","vendor":"Red Hat"}]

Threat ID: 6a1839bbe29bf47b50eaa222

Added to database: 5/28/2026, 12:48:59 PM

Last enriched: 5/28/2026, 1:03:30 PM

Last updated: 5/29/2026, 4:21:26 PM

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses