CVE-2026-9795: Incorrect Privilege Assignment in Red Hat Red Hat build of Keycloak 26.4
A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management permissions can exploit this vulnerability to assign any realm role, including highly privileged roles, to a client's scope mapping. This bypasses intended security controls, allowing the injected role to be projected into a user's authentication token when they access the modified client. This could lead to unauthorized privilege escalation within the Keycloak realm.
AI Analysis
Technical Summary
The vulnerability CVE-2026-9795 affects Red Hat build of Keycloak versions before 26.6.4. It stems from a flaw in the Fine-Grained Admin Permissions (FGAPv2) feature, where an administrator with limited client management permissions can exploit the system to assign any realm role to a client's scope mapping, including roles with high privileges. This improper scope mapping enforcement allows the injected role to be included in a user's authentication token upon accessing the modified client, effectively bypassing security controls and enabling privilege escalation within the Keycloak realm. The CVSS v3.1 score is 7.3 (High), reflecting network attack vector, high privileges required, user interaction needed, and impact on confidentiality and integrity but not availability. The Red Hat advisories confirm the vulnerability but do not currently provide a patch or official fix. Users should back up their systems and await updates from Red Hat.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with limited administrative permissions to escalate privileges by assigning highly privileged realm roles to client scope mappings. This results in unauthorized privilege escalation within the Keycloak realm, potentially compromising authentication tokens and access controls. The impact affects confidentiality and integrity of the authentication system but does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
As of the latest Red Hat advisories, no official patch or fix is available for CVE-2026-9795. Users should back up existing installations, including applications, configuration files, and databases, before applying any future updates. It is recommended to monitor Red Hat's security advisories and apply updates promptly once a fix is released. Until then, restrict administrative permissions carefully and review client scope mappings to minimize risk.
CVE-2026-9795: Incorrect Privilege Assignment in Red Hat Red Hat build of Keycloak 26.4
Description
A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management permissions can exploit this vulnerability to assign any realm role, including highly privileged roles, to a client's scope mapping. This bypasses intended security controls, allowing the injected role to be projected into a user's authentication token when they access the modified client. This could lead to unauthorized privilege escalation within the Keycloak realm.
CVSS v3.1
Score 7.3high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-9795 affects Red Hat build of Keycloak versions before 26.6.4. It stems from a flaw in the Fine-Grained Admin Permissions (FGAPv2) feature, where an administrator with limited client management permissions can exploit the system to assign any realm role to a client's scope mapping, including roles with high privileges. This improper scope mapping enforcement allows the injected role to be included in a user's authentication token upon accessing the modified client, effectively bypassing security controls and enabling privilege escalation within the Keycloak realm. The CVSS v3.1 score is 7.3 (High), reflecting network attack vector, high privileges required, user interaction needed, and impact on confidentiality and integrity but not availability. The Red Hat advisories confirm the vulnerability but do not currently provide a patch or official fix. Users should back up their systems and await updates from Red Hat.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with limited administrative permissions to escalate privileges by assigning highly privileged realm roles to client scope mappings. This results in unauthorized privilege escalation within the Keycloak realm, potentially compromising authentication tokens and access controls. The impact affects confidentiality and integrity of the authentication system but does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
As of the latest Red Hat advisories, no official patch or fix is available for CVE-2026-9795. Users should back up existing installations, including applications, configuration files, and databases, before applying any future updates. It is recommended to monitor Red Hat's security advisories and apply updates promptly once a fix is released. Until then, restrict administrative permissions carefully and review client scope mappings to minimize risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-05-28T03:16:18.721Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-9795","vendor":"Red Hat"}]
Threat ID: 6a184ec5e29bf47b50f3f9c3
Added to database: 05/28/2026, 14:18:45 UTC
Last enriched: 07/15/2026, 09:43:31 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 102
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.