CVE-2026-18211
MEDIUMKeycloak-services: keycloak-services: secure-client-uris policy bypass via localhost-prefixed domains
Title source: cnaDescription
A flaw was found in the secure-client-uris client policy executor within Keycloak core services. This component is responsible for enforcing security requirements on client configurations, such as requiring encrypted connections for redirect URIs. Due to an improper check that only looks at the start of a web address rather than properly verifying the host, an attacker can bypass these security restrictions by using a specially crafted domain name. This could allow an attacker to intercept sensitive authentication codes over unencrypted connections.
References (2)
Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-18211
Issue Tracking, X_Refsource_Redhat issue-tracking
x_refsource_redhat
RHBZ#2508306
https://bugzilla.redhat.com/show_bug.cgi?id=2508306
Scores
CVSS v3
4.2
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Details
CWE
CWE-20
Status
published
Products (4)
Red Hat/Red Hat Build of Keycloak
Red Hat/Red Hat Data Grid 8
Red Hat/Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat/Red Hat Single Sign-On 7
Published
Jul 31, 2026
Tracked Since
Jul 31, 2026