Skip to main content
← All vulnerabilities
CVE-2026-118425

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

Keycloak, an open-source identity and access management product, is affected when its secure-redirect-uris-enforcer client policy is set to allow loopback addresses. An attacker could use a hostname that resolves to a loopback address to get past domain allowlist restrictions and register unauthorized redirect URIs.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • keycloak-services

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • keycloak-services

    Version range not reported

References 1

access.redhat.com