CVE-2026-118425
published medium CVSS 3.1 · 6.8Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-601 URL Redirection to Untrusted Site
References
1Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: redirect uri domain allowlist bypass via dns resolution to loopback
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f29ac74bef907b356fb3e336f955202951ee298bb268c243fa1f1fcfbe33081
- Ingested
- 02 Nov 2026, 20:58:20 UTC
- Source record
- Official CVE record