Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Configure server PTR record to end with target domain suffix
  2. Delivery
    Connect to Keycloak realm with controlled hostname
  3. Exploit
    Hostname passes flawed wildcard suffix validation
  4. Execution
    Register or modify unauthorized OAuth/OIDC client
  5. Impact
    Leverage rogue client for downstream access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires two concurrent conditions: (1) a realm administrator must have configured a wildcard domain pattern (e.g., '*.example.com') in the client registration or client update host restriction policy - this is not a default Keycloak configuration; (2) the attacker must control the reverse DNS (PTR record) of the IP address from which they are connecting, enabling them to present a hostname that ends with the configured domain suffix without being a legitimate subdomain. Exploitation is limited to the client registration and client update operations - it does not affect authentication flows, token issuance, or existing client credentials. The PR:N CVSS metric indicates no Keycloak credentials are required for the bypass itself, but reverse DNS control is a meaningful operational barrier. Realms that do not use wildcard host restrictions, or that restrict client registration to authenticated administrators, are not affected.

Impact

The NVD-assigned CVSS 3.1 score of 3.7 (Low) reflects the narrow real-world risk profile accurately. The vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N captures two key limiting factors: AC:H (requiring the attacker to control the reverse DNS of their connection, a non-trivial operational prerequisite) and I:L only (limited to client configuration integrity, not credential or token theft). There is no confirmed active exploitation (no CISA KEV listing) and no publicly available exploit code identified at time of analysis. EPSS data was not provided in the source intelligence. The vulnerability's real-world impact is further bounded by the deployment condition: it only applies to realms where administrators have configured wildcard domain host restrictions for client registration - not a default Keycloak configuration. Despite Keycloak's broad enterprise footprint, the combination of AC:H, a non-default prerequisite, and limited integrity-only impact places this firmly in low-priority patching for most environments.

Exploit ScenarioDerived

An attacker who owns a server with a PTR record resolving to 'attackerexample.com' targets a Keycloak realm configured with a '*.example.com' wildcard host restriction. By connecting from that server, the attacker's hostname passes the suffix-based validation check and is permitted to register or modify OAuth/OIDC clients in the realm. No public exploit code is known, and the reverse DNS manipulation step makes this attack non-trivial to execute at scale.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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

Wildcard domain validation in Keycloak's keycloak-services component can be bypassed by an attacker who controls their connection's reverse DNS, enabling unauthorized client registration or modification against a Keycloak realm. The flaw stems from the system accepting any hostname that merely ends with the configured domain suffix (e.g., 'attackerexample.com' satisfying a '*.example.com' restriction) rather than enforcing true subdomain membership. Exploitation requires high attack complexity due to the reverse DNS control prerequisite, and no public exploit or CISA KEV listing has been identified at the time of analysis.

RemediationAI

Patch availability per vendor advisory: a patch is available per Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-18206), but an exact patched version number is not confirmed in the available intelligence - consult the Red Hat advisory and Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2508292) for the specific fixed build. As an immediate compensating control, realm administrators should replace wildcard domain entries in client registration policies with explicit, fully qualified domain names (e.g., replace '*.example.com' with 'app.example.com', 'api.example.com') - this eliminates the suffix-match ambiguity entirely, though it requires enumerating all legitimate subdomains and increases administrative overhead when new subdomains are added. Alternatively, restrict client registration and update operations to authenticated realm administrators only, removing reliance on host-based restrictions as an access control mechanism.

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

The keycloak-services component implements host-based restrictions on client registration and update operations, allowing realm administrators to configure wildcard domain patterns (e.g., '*.example.com') to permit only trusted hosts. CWE-20 (Improper Input Validation) describes the root cause: the validation logic performs a suffix-match check rather than a proper subdomain parse, failing to verify the presence of a subdomain delimiter before the domain component. A hostname such as 'attackerexample.com' satisfies a suffix check against 'example.com' but is not a legitimate subdomain of 'example.com'. Because Keycloak uses the connecting client's hostname - resolvable via reverse DNS - for this check, an attacker who controls their server's PTR record can craft a reverse DNS entry to satisfy the flawed validation. Affected products per CPE data include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and Red Hat JBoss Enterprise Application Platform Expansion Pack.

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 LOW
NVD 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.7 LOW

Network-reachable but AC:H due to required reverse DNS control; no credentials needed; only limited client-configuration integrity impact, no confidentiality or availability effect.

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

Primary rating from Vendor (redhat).

CVSS VectorNVD

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

DescriptionNVD

A flaw was found in the keycloak-services component of Keycloak, which provides identity and access management services. The issue occurs when a realm administrator uses a wildcard domain (like *.example.com) to restrict which hosts can register or update clients. Due to improper validation, the system accepts any hostname that ends with the specified domain suffix, even if it is not a legitimate subdomain. An attacker who can control the reverse DNS of their connection can bypass these host-based restrictions, potentially allowing unauthorized client modifications.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
widely deployed enterprise IAM and SSO platform
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
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)NVD

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

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