CVE-2026-18203: Incorrect Authorization in Red Hat Red Hat Build of Keycloak
A flaw was found in the group policy evaluation logic of Keycloak, an identity and access management solution. When a group policy is set to extend permissions to child groups, the system incorrectly uses a simple text-based prefix check to verify group membership. This allows a user who belongs to a different group with a similar starting name to bypass security checks and gain unauthorized access to administrative functions or protected resources.
AI Analysis
Technical Summary
This vulnerability in Red Hat Build of Keycloak stems from improper string prefix comparison during group path validation in the authorization services. When the 'extendChildren' policy is enabled, the system incorrectly authorizes users based on a prefix match of group names rather than exact membership. This flaw allows users from sibling groups with similar name prefixes to gain unauthorized integrity-impacting permissions within the realm, including administrative functions or access to protected resources. The vulnerability has a CVSS 3.1 base score of 6.5 (medium severity) and requires low privileges and no user interaction for exploitation. Red Hat has assessed the impact as moderate and currently does not provide a patch or effective mitigation.
Potential Impact
Successful exploitation allows an attacker to bypass intended access restrictions and gain unauthorized integrity-impacting permissions, such as administrative access or modification of protected data within the Keycloak realm. The flaw does not impact confidentiality or availability directly but can lead to unauthorized modification of application data and access control bypass. Exploitation requires a specific group naming collision and the 'extendChildren' policy setting to be active.
Mitigation Recommendations
Red Hat currently states that no mitigation is available or that existing options do not meet their criteria for ease of use, applicability, or stability. Users should monitor the Red Hat advisory page for updates on patches or mitigations. Until a fix is released, organizations should carefully review group naming conventions and the use of the 'extendChildren' policy setting to minimize risk, though no official workaround is provided.
CVE-2026-18203: Incorrect Authorization in Red Hat Red Hat Build of Keycloak
Description
A flaw was found in the group policy evaluation logic of Keycloak, an identity and access management solution. When a group policy is set to extend permissions to child groups, the system incorrectly uses a simple text-based prefix check to verify group membership. This allows a user who belongs to a different group with a similar starting name to bypass security checks and gain unauthorized access to administrative functions or protected resources.
CVSS v3.1
Score 6.5medium
Affected software
Red Hat
Red Hat Build of Keycloak
Red Hat
Red Hat Data Grid 8
Red Hat
Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat
Red Hat Single Sign-On 7
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Red Hat Build of Keycloak stems from improper string prefix comparison during group path validation in the authorization services. When the 'extendChildren' policy is enabled, the system incorrectly authorizes users based on a prefix match of group names rather than exact membership. This flaw allows users from sibling groups with similar name prefixes to gain unauthorized integrity-impacting permissions within the realm, including administrative functions or access to protected resources. The vulnerability has a CVSS 3.1 base score of 6.5 (medium severity) and requires low privileges and no user interaction for exploitation. Red Hat has assessed the impact as moderate and currently does not provide a patch or effective mitigation.
Potential Impact
Successful exploitation allows an attacker to bypass intended access restrictions and gain unauthorized integrity-impacting permissions, such as administrative access or modification of protected data within the Keycloak realm. The flaw does not impact confidentiality or availability directly but can lead to unauthorized modification of application data and access control bypass. Exploitation requires a specific group naming collision and the 'extendChildren' policy setting to be active.
Mitigation Recommendations
Red Hat currently states that no mitigation is available or that existing options do not meet their criteria for ease of use, applicability, or stability. Users should monitor the Red Hat advisory page for updates on patches or mitigations. Until a fix is released, organizations should carefully review group naming conventions and the use of the 'extendChildren' policy setting to minimize risk, though no official workaround is provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-29T07:49:19.596Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-18203","vendor":"Red Hat"}]
Threat ID: 6a6c50cf9c2644c7f87f9861
Added to database: 07/31/2026, 07:37:51 UTC
Last enriched: 08/07/2026, 14:30:04 UTC
Last updated: 09/14/2026, 22:01:32 UTC
Views: 35
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.