Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback
Impact
A flaw in Keycloak's secure-redirect-uris-enforcer policy allows attackers to bypass domain allowlist restrictions by using a hostname that resolves to a loopback address. The issue occurs when the policy is configured to allow loopback addresses and Keycloak resolves hostnames via DNS during validation. Affected products include Red Hat Build of Keycloak.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.What to do
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Red Hat · redhat
Red Hat Build of Keycloak
0 ranges
Red Hat · redhat
Red Hat Build of Keycloak
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:Red Hat · redhat
Red Hat Build of Keycloak
0 ranges
Red Hat · redhat
Red Hat Build of Keycloak
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: affected
Product identifiers (CPE)
cpe:/a:redhat:build_keycloak:Red Hat · redhat
Red Hat Single Sign-On 7
0 ranges
Red Hat · redhat
Red Hat Single Sign-On 7
Compare with this publisher’s ranges. This does not inspect your installation.
Other versions: unaffected
Product identifiers (CPE)
cpe:/a:redhat:red_hat_single_sign_on:7Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-118425View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.