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

Published Oct 29, 2026
·
Updated

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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable allowing loopback addresses in the secure-redirect-uris-enforcer client policy to prevent hostname resolution to loopback addresses from bypassing redirect URI domain allowlist restrictions.

    Keycloak secure-redirect-uris-enforcer client policy allow loopback addresses = disabled

Event History

Oct 29, 2026
CVE Published
via MITRE·01:58 PM
Data Sourced
via MITRE·01:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this bypass?

Deployments using Keycloak's secure-redirect-uris-enforcer client policy are exposed when that policy is configured to allow loopback addresses. The issue depends on Keycloak resolving hostnames through DNS during redirect URI validation.

2

What does an attacker need to exploit it?

An attacker needs to use a hostname that resolves to a loopback address. This can allow the hostname to bypass domain allowlist restrictions and potentially be registered as an unauthorized redirect URI.

3

What can be done while a fix is not available?

Avoid configuring the secure-redirect-uris-enforcer client policy to allow loopback addresses. Review registered redirect URIs for hostnames that resolve to loopback addresses and remove unauthorized entries.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203