CVE-2026-118425

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

Medium published · updated

6.8
CVSS score out of 10 · NVD (redhat.com)

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 and versions

Product / packageEcosystem / vendorVersionsFixed inSource
red hat build of keycloak red hat —— CVE.org
red hat single sign-on 7 red hat —— CVE.org

References