Skip to content
CVE PROGRAM SOURCE RECORD6.8 Medium

CVE-2026-118425

Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback

Description

A flaw was found in the secure-redirect-uris-enforcer client policy of Keycloak, an identity and access management solution. The issue occurs when the policy is configured to allow loopback addresses, as Keycloak resolves hostnames via DNS during validation. An attacker can bypass domain allowlist restrictions by using a hostname that resolves to a loopback address, potentially allowing the registration of unauthorized redirect URIs.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Red Hat Red Hat Build of Keycloak

Default version status: affected

Red Hat Red Hat Build of Keycloak

Default version status: affected

Red Hat Red Hat Single Sign-On 7

Default version status: unaffected

References