Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback (Red Hat Red Hat Build of Keycloak)

CVE-2026-118425
MEDIUM 6.8

At a glance

Source
NVD
EPSS
EPSS 0.23 % Β· percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-601 β€” URL Redirection to Untrusted Site

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Nredhat
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NNVD Β· secalert@redhat.com (Primary)

European references

Affected products

ProductVersions
Red Hat Β· Red Hat Build of Keycloak
Red Hat Β· Red Hat Build of Keycloak
Red Hat Β· Red Hat Single Sign-On 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD