Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Obtain realm client management credentials
  2. Delivery
    Create shadow group with matching policy group name
  3. Exploit
    Trigger name-based group membership check
  4. Execution
    Satisfy client policy condition via name collision
  5. Impact
    Register OAuth client without hardening profile enforcement

Vulnerability Assessment

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

1 technique across 1 tactic: Defense Evasion

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

Exploitation Conditions

Exploitation requires the attacker to hold client management privileges within the Keycloak realm - specifically the ability to create groups and register or update OAuth/OIDC clients. The deployment must have client policies configured that use group-membership conditions to enforce security hardening profiles (e.g., FAPI, PKCE, or similar executor profiles); environments with no client policies defined are not affected by this bypass. The attacker must also be able to create or join a group whose name matches a policy-enforcing group located elsewhere in the group hierarchy. Exploitation is limited by the requirement for an authenticated low-privilege account with client management delegation - unauthenticated or end-user accounts cannot trigger this path. Deployments with a flat (non-hierarchical) group structure or strictly unique group names across the entire tree are not exploitable.

Impact

The vendor-supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) scores 6.5 Medium. The attack is network-reachable with low complexity but critically requires the attacker to already hold client management privileges within the realm - this meaningfully reduces opportunistic exploitation risk compared to an unauthenticated flaw. The integrity impact is rated High because a successful bypass allows registering or updating clients outside mandated hardening profiles, potentially introducing insecure OAuth clients into a production realm (e.g., clients lacking PKCE, mTLS, or FAPI compliance). No EPSS data was provided in the source intelligence; no CISA KEV listing exists; and no public proof-of-concept code has been identified. The real-world risk is elevated in multi-tenant or large enterprise Keycloak deployments where multiple administrators or delegated client managers exist across organizational boundaries - environments where insider threat or a compromised low-privilege account could trigger this path. In tightly controlled single-tenant deployments with few privileged operators, the exposure is substantially lower.

Exploit ScenarioDerived

An attacker with delegated client management access in a Keycloak realm creates a sub-group in their own organizational unit with the same name as a higher-privilege policy group (e.g., a group named 'security-approved' that exists under both '/org-a/security-approved' and '/org-b/security-approved'). When the client policy evaluator checks group membership by name, the attacker's group satisfies the condition, allowing them to register a new OAuth client that omits required PKCE or mTLS enforcement. No public proof-of-concept has been identified, but the logic for exploitation is straightforward for anyone familiar with Keycloak's policy model.

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

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

Alert me

AnalysisAIv1 – Jul 29, 2026

Client policy enforcement in Keycloak is bypassable by any user holding client management privileges who exploits a group-name collision across the group hierarchy. Because the policy engine resolves group membership by display name rather than unique identifier, an attacker can create or join a group in a different part of the hierarchy that shares a name with a privileged policy group, then register or update OAuth/OIDC clients without satisfying the required security hardening profiles. No public exploit has been identified at time of analysis, and active exploitation has not been confirmed by CISA KEV.

RemediationAI

Apply the vendor-released patch from Red Hat once a specific fixed build is published and confirmed via https://access.redhat.com/security/cve/CVE-2026-18207 - exact fix versions are not independently confirmed from available CPE data and should not be assumed. As a compensating control while awaiting the patch, administrators should audit all client policies that use group-membership conditions and verify that no two groups at different hierarchy levels share identical names; renaming ambiguous groups eliminates the name-collision prerequisite. Additionally, restrict client management privileges to the minimum necessary set of realm administrators, reducing the pool of accounts that could trigger this bypass. Be aware that renaming groups may require updating policy conditions and could affect dependent automation. Monitoring the Red Hat Security Advisory portal for updated erratum packages is advised.

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 implements client policies - sets of conditions and executor profiles that enforce security constraints (e.g., PKCE, FAPI compliance) on OAuth2/OIDC client registrations and updates. Conditions within those policies can be scoped to group membership. The flaw (CWE-285: Improper Authorization) arises because the group membership condition evaluates membership by group name string rather than the group's internal UUID. In a hierarchical group model, multiple groups at different levels of the tree can share the same leaf name, making name-based resolution ambiguous and exploitable. Affected CPEs include cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*, cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*, cpe:2.3:a:red_hat:red_hat_data_grid_8:*:*:*:*:*:*:*:*, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*, indicating the vulnerability spans the full Red Hat IAM/middleware product family that bundles Keycloak.

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

PR:L confirmed because client management privileges are required; I:H because hardening policy bypass enables insecure client registration; no confidentiality or availability impact.

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 client policy enforcement mechanism of Keycloak. The issue occurs when the system checks group membership by name instead of a unique identifier. An attacker with client management privileges could bypass security policies by joining a group with a matching name in a different part of the group hierarchy, potentially allowing them to register or update clients without following required security hardening profiles.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
High
dominant open-source IAM platform in enterprise Red Hat/Java ecosystems
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.3%
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