Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback (Red Hat Red Hat Build of Keycloak)
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
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N | NVD Β· secalert@redhat.com (Primary) |
European references
- ENISA EUVD Β· EUVD-2026-112916
- GCVE Β· GCVE-0-2026-118425
Affected products
| Product | Versions |
|---|---|
| Red Hat Β· Red Hat Build of Keycloak | |
| Red Hat Β· Red Hat Build of Keycloak | |
| Red Hat Β· Red Hat Single Sign-On 7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |