3.7Low

CVE-2026-18206Keycloak-services: keycloak-services: client policy source-host wildcard domain matching bypass

Red Hat Red Hat build of Keycloak 26.6; Red Hat Red Hat build of Keycloak 26.6.8; Red Hat Red Hat Data Grid 8; Red Hat Red Hat JBoss Enterprise Application Pla… Published: (3 months ago)

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.

Weakness (CWE): CWE-20

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*