Skip to main content

Keycloak CVE-2026-118425

| EUVDEUVD-2026-112916 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-10-29 secalert@redhat.com GHSA-3m3f-g7xq-c3v7
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or update OAuth client redirect URI
  2. Delivery
    Supply hostname that resolves to a loopback address
  3. Exploit
    Bypass secure-redirect-uris-enforcer domain allowlist
  4. Execution
    Lure user to authorize the flow
  5. Impact
    Capture 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.4 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
Keycloak is a widely deployed open-source/enterprise IAM platform (Red Hat build of Keycloak)
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2014-3709 HIGH POC
8.8 Oct 18

The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2023-6563 HIGH POC
7.7 Dec 14

An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne

CVE-2022-1466 MEDIUM POC
6.5 Apr 26

Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be

CVE-2017-7474 CRITICAL
9.8 May 12

It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2022-1245 CRITICAL
9.8 Jul 08

A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi

CVE-2019-14910 CRITICAL
9.8 Dec 05

A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in

CVE-2021-20195 CRITICAL
9.6 May 28

A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote

CVE-2023-6134 MEDIUM POC
5.4 Dec 14

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t

CVE-2022-0225 MEDIUM POC
5.4 Aug 26

A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy