Description
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.
Published: 2026-07-31
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An issue in the keycloak-services component of Keycloak allows a realm administrator to configure a wildcard domain policy (e.g., *.example.com) intended to limit which hosts can register or update clients. The component fails to correctly validate hostnames and accepts any hostname that ends with the specified suffix, even if the name is not an approved subdomain. An attacker who can manipulate the reverse DNS entry of the connection thereby names a hostname that satisfies the suffix is able to bypass the host‑based restriction and alter or create client configurations without authorization.

Affected Systems

Red Hat Build of Keycloak, Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. The vulnerable component is keycloak-services; the specific build and patch level are not listed, so any release containing this component before the fix is potentially affected.

Risk and Exploitability

The CVSS score of 3.7 indicates low severity. The EPSS score of 0.00216, or 0.216%, indicates a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, and no effective official workaround is available. Nonetheless, exploitation requires the attacker to control reverse DNS for the connection, which is a relatively high‑bar attack that can be executed remotely. If the host‑based restriction is bypassed, the attacker can modify or create client configurations, undermining the integrity of identity and access management within the affected realm.

Generated by OpenCVE AI on August 3, 2026 at 09:59 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Upgrade to the latest Red Hat Build of Keycloak, Red Hat JBoss Enterprise Application Platform Expansion Pack, or Red Hat Single Sign‑On 7 releases that include the keycloak-services fix.
  • Apply the official CNA workaround if available, or note that currently none meets Red Hat Product Security criteria.
  • Replace wildcard domain policies with explicit, verified host entries in the client policy source-host settings.
  • Collaborate with DNS administrators to ensure that reverse DNS records for client registration hosts are accurate, monitored, and revoked when suspicious or unauthorized changes are detected.

Generated by OpenCVE AI on August 3, 2026 at 09:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On

Sat, 01 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Fri, 31 Jul 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 07:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Keycloak-services: keycloak-services: client policy source-host wildcard domain matching bypass
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-20
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Redhat Build Keycloak Build Of Keycloak Data Grid Jboss Data Grid Jboss Enterprise Application Platform Expansion Pack Jbosseapxp Red Hat Single Sign On Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-31T10:59:36.218Z

Reserved: 2026-07-29T07:56:25.314Z

Link: CVE-2026-18206

cve-icon Vulnrichment

Updated: 2026-07-31T10:59:21.865Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-31T08:16:27.177

Modified: 2026-08-07T14:54:56.253

Link: CVE-2026-18206

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-28T13:36:46Z

Links: CVE-2026-18206 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T10:00:12Z

Weaknesses
  • CWE-20

    Improper Input Validation