Skip to main content
EPSS 0.2%top 92%

CVE-2026-18211: Improper Input Validation in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2026-18211cvecve-2026-18211
Published: 07/31/2026 (07/31/2026, 07:08:24 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

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 v3.1

Score 4.2medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected software

Red Hat

Red Hat Build of Keycloak

Red Hat

Red Hat Data Grid 8

Red Hat

Red Hat JBoss Enterprise Application Platform Expansion Pack

Red Hat

Red Hat Single Sign-On 7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 14:54:48 UTC

Technical Analysis

This vulnerability in Red Hat Build of Keycloak's secure-client-uris client policy executor arises from improper input validation that only checks the start of a web address rather than the full host. This allows an attacker controlling a localhost-prefixed domain to bypass security policies requiring encrypted redirect URIs. The flaw enables interception of authorization codes transmitted over cleartext HTTP. Exploitation requires Dynamic Client Registration to be enabled and control over a specific localhost-prefixed domain. Red Hat rates this vulnerability as moderate severity with a CVSS score of 4.2. No official fix or effective mitigation is currently available according to Red Hat's advisory.

Potential Impact

An attacker who controls a localhost-prefixed domain and can register clients dynamically may bypass the secure-client-uris policy, intercepting sensitive authentication codes sent over unencrypted HTTP. This compromises confidentiality and integrity of authentication flows. The vulnerability does not affect availability. Exploitation complexity is high and requires user interaction. No known exploits are reported in the wild.

Mitigation Recommendations

Red Hat currently does not provide an official fix or mitigation that meets their criteria for ease of use, applicability, and stability. Users should monitor the Red Hat advisory for updates. Since exploitation requires Dynamic Client Registration to be enabled, disabling this feature where possible may reduce risk. Consult Red Hat support or a Technical Account Manager for tailored guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-29T08:24:18.687Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-18211","vendor":"Red Hat"}]

Threat ID: 6a6c50cf9c2644c7f87f9871

Added to database: 07/31/2026, 07:37:51 UTC

Last enriched: 08/07/2026, 14:54:48 UTC

Last updated: 09/14/2026, 22:01:32 UTC

Views: 41

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses