Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or update OAuth client redirect URI
-
DeliverySupply hostname that resolves to a loopback address
-
ExploitBypass secure-redirect-uris-enforcer domain allowlist
-
ExecutionLure user to authorize the flow
-
ImpactCapture redirected authorization code or token
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the secure-redirect-uris-enforcer client policy to be enabled AND configured to allow loopback addresses - this is a specific, non-default policy configuration, not a default state; without it the flaw does not occur. The attacker must control a hostname whose DNS resolution returns a loopback address, and must be able to register or update a client's redirect URIs. Exploitation is further limited by required user interaction (UI:R) to complete the authorization flow and by the fact that the precise trigger beyond 'Keycloak resolves hostnames via DNS during validation' is not detailed in the available sources. These limits (non-default policy config, dependence on DNS resolution, and needed user interaction) meaningfully reduce real-world exposure below what a network-vector CVSS alone suggests. |
| Impact | This is a medium-severity, config-dependent issue rather than a drop-everything emergency, and the decision signals agree: the vuln.today priority is 'this_month' (not act_now/emergency), there is no EPSS score supplied, the CVE is not in CISA KEV, and no public exploit or PoC reference is present - so exploitation is unproven. The supplied CVSS of 6.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N) already reflects dampening factors: high attack complexity (AC:H), required user interaction (UI:R), and - critically - the description states the flaw only occurs 'when the policy is configured to allow loopback addresses,' a non-default hardening policy, which further narrows the exploitable population. One point to verify: the input vector uses PR:N (unauthenticated), yet exploitation involves registering/updating client redirect URIs, which in many Keycloak deployments requires at least a client-registration capability; if registration is gated, effective privilege is higher than PR:N implies. Net: a legitimate issue to patch on a normal cycle for environments that actually enable the secure-redirect-uris-enforcer policy with loopback addresses allowed, but low real-world urgency absent exploitation evidence. |
| Exploit ScenarioDerived | In a Keycloak deployment whose secure-redirect-uris-enforcer client policy is configured to allow loopback addresses, an attacker supplies a redirect URI using an attacker-controlled hostname that resolves via DNS to a loopback address (e.g., 127.0.0.1), causing validation to accept it and bypassing the domain allowlist. The attacker then lures a user to complete an authorization flow (UI:R) so the OAuth response is redirected to the unauthorized URI, exposing authorization codes or tokens. No public exploit or PoC is identified at time of analysis, so this scenario is inferred from the description and CVSS vector, not from demonstrated exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 29, 2026
Keycloak's secure-redirect-uris-enforcer client policy can be bypassed when it is configured to allow loopback addresses, allowing an actor with low privileges to register unauthorized redirect URIs by using a hostname that resolves to a loopback address. The flaw is configuration-dependent-the policy must be enabled and set to permit loopback addresses-and exploitation also requires user interaction to complete the authorization flow; the assessed vector is AV:N/AC:H/PR:L/UI:R with high confidentiality and integrity impact. No public exploit was identified at time of analysis, the CVE is not in CISA KEV, no EPSS score was supplied, and the vuln.today priority is this_month rather than act_now/emergency.
RemediationAI
No vendor-released patch or fixed version is identified in the supplied data. The primary mitigation is to disable the loopback-address allowance in the secure-redirect-uris-enforcer policy, or remove loopback addresses from the redirect URI allowlist, because the bypass depends on that configuration; the trade-off is that legitimate native or local-development clients using loopback redirect URIs may stop working. If loopback redirects are required, restrict client registration and redirect-URI update rights to a narrow set of trusted administrators, and review existing redirect URIs for hostnames that resolve to loopback addresses. Monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-118425 for a fixed Keycloak release and upgrade when a patched version is published; these compensating controls reduce exposure but do not replace a vendor fix.
Affected ProductsAI
Keycloak deployments that use the secure-redirect-uris-enforcer client policy and enable the loopback-address allowance are affected. The supplied data does not provide CPE strings or a specific version range, so no version boundaries can be stated; the vendor reference is the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-118425. Organizations should inventory Keycloak realms and client policies to identify configurations where loopback addresses are permitted for redirect URI validation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is an identity and access management solution that validates OAuth/OIDC client redirect URIs against policy. The secure-redirect-uris-enforcer is a client policy that enforces a domain allowlist for redirect URIs; CWE-601 (URL Redirection to Untrusted Site / Open Redirect) describes the resulting class of weakness. According to the description, Keycloak resolves hostnames via DNS during validation, so when the policy is configured to allow loopback addresses, an attacker-controlled hostname whose DNS answer is a loopback address such as 127.0.0.1 or ::1 can pass validation and be registered as an authorized redirect URI. The trigger beyond this DNS-resolution behavior is not described in the available sources, and the issue is not present in the default policy state; it depends on the loopback allowance. The supplied data does not include CPE strings or a version range, and the independent assessment rates the prerequisite as low privileges (PR:L), high attack complexity, and user interaction.
Know when Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
AV:N and UI:R match the OAuth redirect flow; AC:H reflects the required non-default loopback-allow policy and DNS-resolution dependence; PR:L because registering/updating client redirect URIs typically needs a client-registration capability.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne
Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be
It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in
A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t
A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c
EUVD-2026-112916
GHSA-3m3f-g7xq-c3v7
NVD
CVE.org
EPSS
VulDB
Exploit-DB