Bug 2562575 (CVE-2026-118425) - CVE-2026-118425 keycloak-services: keycloak-services: Redirect URI domain allowlist bypass via DNS resolution to loopback
Summary: CVE-2026-118425 keycloak-services: keycloak-services: Redirect URI domain all...
Keywords:
Status: NEW
Alias: CVE-2026-118425
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-28 05:36 UTC by OSIDB Bzimport
Modified: 2026-10-28 05:36 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-28 05:36:18 UTC
A vulnerability was found in the Keycloak keycloak-services component. When the secure-redirect-uris-enforcer client policy is configured with allow-permitted-domains and allow-ipv4-loopback-address enabled, the validation logic performs DNS resolution on redirect URI hostnames. If an external hostname resolves to an IPv4 loopback address such as 127.0.0.1, Keycloak classifies it as a loopback URI and bypasses the domain allowlist check. Because Keycloak stores the original unnormalized hostname in the client configuration, an attacker with client update or Dynamic Client Registration access can register redirect URIs for domains outside the permitted list. This allows an attacker to redirect users to unauthorized domains, potentially leading to the exposure of sensitive authorization tokens or codes.


Note You need to log in before you can comment on or make changes to this bug.