# CVE-2026-118425: Keycloak secure-redirect-uris-enforcer open redirect via DNS resolution

Source: https://junglewise.ai/threats/cve-2026-118425-a-flaw-was-found-in-the-secure-redirect-uris-enforcer-client  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-29. Updated: 2026-10-29  
License: CC BY 4.0 with a link back

CVE-2026-118425 · Severity: medium · CVSS 6.8 · Published 2026-10-29

Keycloak is an identity and access management platform that controls user login and authorization across applications. A flaw in its redirect URI validation allows attackers to bypass security restrictions by using hostnames that resolve to loopback addresses, potentially redirecting users to unauthorized external sites after authentication. This could enable account takeover, phishing, or session hijacking attacks.

Technologies: [Red Hat build of Keycloak](https://junglewise.ai/threats/technologies/red-hat-keycloak). Vendors: [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2026-118425 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-118425 being exploited in the wild.

**How severe is CVE-2026-118425?** Medium severity, with a CVSS score of 6.8, published 29 October 2026.

**Which products and versions are affected?** Red Hat build of Keycloak.

**Is there a fix for CVE-2026-118425?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-118425 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-118425?** Check whether you run Red Hat build of Keycloak. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The secure-redirect-uris-enforcer client policy in Keycloak performs DNS resolution during redirect URI validation, allowing attackers to bypass domain allowlist restrictions when loopback address resolution is permitted. An attacker without privileges can craft a hostname that resolves to 127.0.0.1 or similar to register unauthorized redirect URIs, exploiting CWE-601 (Open Redirect). The vulnerability requires user interaction and high attack complexity, with no public exploit known.

## Affected products

- Red Hat build of Keycloak

## Timeline

- 2026-10-29: disclosed

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-118425](https://access.redhat.com/security/cve/CVE-2026-118425)

## Related threats

- [Keycloak server arbitrary code execution in client authorization](https://junglewise.ai/threats/cve-2026-120984-a-flaw-was-found-in-the-keycloak-server-s-client-management)
- [Red Hat Build of Keycloak OIDC logout session fixation](https://junglewise.ai/threats/cve-2026-107124-a-flaw-was-found-in-the-oidc-logout-endpoint-of-the-keycloak)
- [Keycloak theme resource disk exhaustion](https://junglewise.ai/threats/cve-2026-110932-a-flaw-was-found-in-the-theme-resource-endpoint-of-keycloak-an)
- [Keycloak OIDC Dynamic Client Registration offline token revocation bypass](https://junglewise.ai/threats/cve-2026-107623-a-flaw-was-found-in-the-oidc-dynamic-client-registration-dcr)
- [Keycloak mTLS holder-of-key binding bypass in Standard Token Exchange](https://junglewise.ai/threats/cve-2026-97846-keycloak-provides-a-feature-called-mtls-holder-of-key-binding)
