PatchSiren cyber security CVE debrief
CVE-2026-9796 Red Hat CVE debrief
CVE-2026-9796 is a Time-of-check to time-of-use (TOCTOU) vulnerability in Red Hat Build of Keycloak that allows an authenticated administrator with the `manage-clients` role to escalate their privileges to `realm-admin`. This vulnerability can lead to unauthorized access and lateral movement within the system. The composite role relationship persists even after the attacker's own permissions are revoked and across system reboots. Administrators should verify and apply available patches to prevent privilege escalation.
- Vendor
- Red Hat
- Product
- Red Hat Build of Keycloak
- CVSS
- MEDIUM 6.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-28
- Original CVE updated
- 2026-09-15
- Advisory published
- 2026-05-28
- Advisory updated
- 2026-09-15
Who should care
Administrators of Red Hat Build of Keycloak, security teams responsible for monitoring and patching vulnerabilities, and operators of Keycloak systems should be aware of this vulnerability and take necessary actions to mitigate it. The vulnerability can lead to unauthorized access and lateral movement within the system, making it a high-priority issue for Keycloak deployments.
Why it matters
CVE-2026-9796 is a TOCTOU vulnerability in Red Hat Build of Keycloak that allows an authenticated administrator to escalate privileges, potentially leading to unauthorized access and lateral movement.
- Potential privilege escalation to `realm-admin` role.
- Increased risk of unauthorized access to Keycloak systems.
- Possible lateral movement within the system.
Technical summary
The vulnerability is a Time-of-check to time-of-use (TOCTOU) issue in Red Hat Build of Keycloak that allows an authenticated administrator with the `manage-clients` role to escalate their privileges to `realm-admin`. This is achieved through a race condition that occurs between the time of checking and the time of using the role. The vulnerability can be mitigated by applying available patches and restricting role permissions to only necessary users. A thorough analysis of the Keycloak codebase and testing revealed the vulnerability.
Defensive priority
Administrators of Red Hat Build of Keycloak should verify and apply available patches to prevent privilege escalation.
Recommended defensive actions
- Verify and apply available patches for Red Hat Build of Keycloak.
- Restrict `manage-clients` role permissions to only necessary users.
- Monitor system logs for potential exploitation attempts.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The vulnerability was found in Red Hat Build of Keycloak and allows an authenticated administrator to escalate privileges. The TOCTOU vulnerability is a type of race condition that can be exploited by an attacker to gain unauthorized access. The vulnerability was identified through a thorough analysis of the Keycloak codebase and testing. Defenders should verify the affected scope, severity, and vendor guidance to ensure proper mitigation.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-9796 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-9796
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-9796 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-9796
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:56523
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:56524
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/security/cve/CVE-2026-9796
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.