Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege user account
  2. Delivery
    Identify privileged group name prefix via Keycloak realm discovery
  3. Exploit
    Send authorized request as member of prefix-matching group
  4. Execution
    Prefix check incorrectly validates group membership
  5. Impact
    Gain unauthorized access to admin functions or protected resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two specific conditions must simultaneously be true for exploitation: (1) a Keycloak group policy must be configured with the 'extend permissions to child groups' option enabled - this is not the default state and requires deliberate administrator configuration; and (2) the attacker must hold a valid authenticated account (PR:L) assigned to a group whose path name shares a string prefix with the target privileged group (e.g., '/ops-external' matching a policy scoped to '/ops'). Exploitation is limited to environments where both conditions coexist. What prevents exploitation in the majority of deployments: group policies not using child-group inheritance, group naming conventions that avoid shared prefixes with privileged groups, and the requirement for a valid authenticated user account. The attack is fully network-accessible (AV:N) with no user interaction required (UI:N) once the conditions are present.

Impact

The CVSS 3.1 base score of 6.5 (Medium) reflects a network-accessible, low-complexity attack requiring only a low-privileged account (PR:L) with high integrity impact (I:H) and no confidentiality or availability consequence. The real-world risk is elevated beyond the numerical score because the integrity bypass can grant access to administrative functions - a privilege escalation path that defenders should treat seriously in IAM infrastructure. No EPSS score was provided in the source data, preventing quantitative exploitation-probability comparison. No CISA KEV listing exists, and no public proof-of-concept code has been identified, indicating no confirmed or widespread active exploitation at time of analysis. The attack complexity is genuinely low once preconditions are met (AC:L in the vector is consistent), but there is a non-trivial configuration precondition: the 'extend to child groups' policy must be explicitly enabled, and the attacker's group name must share a prefix with the target privileged group. This limits the vulnerable population to environments that actively use hierarchical group policy inheritance - a common but not universal Keycloak deployment pattern. The scope is unchanged (S:U), meaning the impact is contained within Keycloak's authorization boundary rather than affecting underlying host systems.

Exploit ScenarioDerived

An attacker with a valid low-privilege account in group '/admins-backup' submits a request to a Keycloak-protected resource whose policy grants access to members of '/admins' and its child groups. Keycloak's prefix check evaluates '/admins-backup'.startsWith('/admins') as true, incorrectly granting the attacker access to administrative endpoints or protected resources intended only for the '/admins' hierarchy. No exploit code is required beyond a standard authenticated HTTP request to the target resource.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

Incorrect authorization in Keycloak's group policy evaluation allows a low-privileged authenticated user to bypass group membership checks and gain unauthorized access to administrative functions or protected resources. The root cause is a string prefix comparison used to verify child-group membership under an 'extend to child groups' policy: a user in a group whose name shares a leading prefix with a privileged group (e.g., '/admins-external' matching a policy scoped to '/admins') is incorrectly treated as a legitimate child-group member. The CVSS vector (PR:L, I:H) confirms this is an authenticated integrity-bypass with high impact. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

Consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-18203 for the authoritative patched version - no specific fixed release version was confirmed in the available source data, so an exact upgrade target cannot be stated here. Until a patched version is applied, organizations should audit all group policies configured with 'extend to child groups' inheritance and verify that no group names in the realm share a common prefix with privileged groups. As a compensating control, rename any groups whose path names could be incorrectly prefix-matched against protected parent groups, eliminating the ambiguity the flawed check exploits; this is disruptive but effective. Alternatively, replace hierarchical child-group policies with explicit per-group permission assignments, trading administrative convenience for correctness. Restricting Keycloak administrative console access to trusted network segments reduces the surface area, but does not prevent exploitation by internally authenticated users. Monitor Bugzilla issue 2508291 for patch availability updates.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Keycloak (CWE-863: Incorrect Authorization) implements group-based policies that can propagate permissions downward to child groups within a hierarchy. The flaw lies in how Keycloak resolves group ancestry during policy evaluation: rather than traversing the actual group hierarchy tree to confirm a true parent-child relationship, it performs a naive string prefix comparison on group path names. This means any group path string that starts with the same character sequence as a privileged group's path will pass the membership check incorrectly. The affected products per CPE data are Red Hat Build of Keycloak (multiple release streams), Red Hat Single Sign-On 7, Red Hat Data Grid 8, and Red Hat JBoss Enterprise Application Platform Expansion Pack - all of which embed or integrate Keycloak's authorization engine. The vulnerability is classified under CWE-863 because authorization decisions are made on a flawed criterion (string prefix equality) rather than actual group membership, not because credentials are bypassed entirely.

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

Network-accessible IAM service, low complexity once preconditions exist, requires authenticated low-privilege account (PR:L), integrity-only impact with no confidentiality or availability consequence.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
widely deployed enterprise IAM across Red Hat ecosystem customers
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_data_grid_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy