CVE-2026-18211
Received Received - Intake

Secure Client URIs Policy Bypass in Keycloak

Vulnerability report for CVE-2026-18211, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-31

Last updated on: 2026-07-31

Assigner: Red Hat, Inc.

Description

A flaw was found in the secure-client-uris client policy executor within Keycloak core services. This component is responsible for enforcing security requirements on client configurations, such as requiring encrypted connections for redirect URIs. Due to an improper check that only looks at the start of a web address rather than properly verifying the host, an attacker can bypass these security restrictions by using a specially crafted domain name. This could allow an attacker to intercept sensitive authentication codes over unencrypted connections.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-31
Last Modified
2026-07-31
Generated
2026-07-31
AI Q&A
2026-07-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
keycloak keycloak *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in Keycloak's secure-client-uris client policy executor. It allows attackers to bypass security checks for redirect URIs by crafting domain names that trick the system into accepting unencrypted connections. The flaw occurs because the system only checks the start of a web address rather than verifying the full host.

Detection Guidance

Check Keycloak client configurations for redirect URIs starting with 'http://localhost' or 'http://127.0.0.1' followed by additional malicious domains. Inspect logs for Dynamic Client Registration attempts with such URIs. Use network monitoring to detect unencrypted HTTP traffic to unexpected domains during authentication flows.

Impact Analysis

An attacker could exploit this to intercept sensitive authentication codes sent over unencrypted connections. This may lead to unauthorized access to user accounts or sensitive data during authentication flows.

Compliance Impact

This vulnerability could violate compliance requirements that mandate encrypted transmission of sensitive data, such as GDPR's data protection principles or HIPAA's security rules for protected health information.

Mitigation Strategies

Update Keycloak to the latest version that patches this flaw. Review client redirect URI configurations to ensure they enforce encrypted connections. Monitor network traffic for suspicious domains attempting to bypass security checks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18211. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart