CVEFinder.io

CVE-2026-7504

⚠️ high
🔍 Scan for this CVE
Summary

A flaw was found in Keycloak's URL validation logic during redirect operations. By crafting a malicious request, an attacker could bypass validation to redirect users to unauthorized URLs, potentially leading to the exposure of sensitive information within the domain or facilitating further attacks. This vulnerability specifically affects Keycloak clients configured with a wildcard (*) in the "Valid Redirect URIs" field and requires user interaction to be successfully exploited. The issue stems

Description

A flaw was found in Keycloak's URL validation logic during redirect operations. By crafting a malicious request, an attacker could bypass validation to redirect users to unauthorized URLs, potentially leading to the exposure of sensitive information within the domain or facilitating further attacks. This vulnerability specifically affects Keycloak clients configured with a wildcard (*) in the "Valid Redirect URIs" field and requires user interaction to be successfully exploited.

The issue stems from a discrepancy in how Keycloak and the underlying Java URI implementation handle the user-info component of a URL. If a malicious redirect URL is constructed using multiple @ characters in the user-info section, Java's URI parser fails to extract the user-info, leaving only the raw authority field. Consequently, Keycloak's validation check fails to detect the malformed user-info, falls back to a wildcard comparison, and incorrectly permits the malicious redirect.

CVSS Score
8.1
High
EPSS Score
0.0
Exploit Probability
Published Date
2026-05-19
First Seen: 2026-05-20
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 77.5% of all 326,604 vulnerabilities in our database.

#73,427
Top 25% most severe
Severity Percentile
🎯 CISA SSVC Assessment Updated: May 19, 2026
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Total
Complete system compromise possible
🏆 Discovered By
Red Hat would like to thank Duarte Antunes (Intapp) and João Mendes (Intapp) for reporting this issue.
SSVC data provided by CISA
Last Modified 2026-06-03
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 6

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-9791 🔶 medium 4.3 0.0 A flaw was found in Keycloak. An authenticated user with existing organization membership can exploit this flaw by acces... 2026-05-28
CVE-2026-9792 🔶 medium 6.5 0.0 A flaw was found in Keycloak's Client Policies, specifically within the `org.keycloak.protocol.oidc` component. When cer... 2026-05-28
CVE-2026-9793 🔶 medium 5.9 0.0 A flaw was found in Keycloak. When a JSON Web Encryption (JWE) encrypted request object is submitted, Keycloak may incor... 2026-05-28
CVE-2026-9794 🔶 medium 5.3 0.0 A flaw was found in Keycloak. A remote, unauthenticated attacker can exploit this vulnerability by sending specially cra... 2026-05-28
CVE-2026-9795 ⚠️ high 7.3 0.0 A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client man... 2026-05-28
CVE-2026-9796 🔶 medium 6.5 0.0 A flaw was found in Keycloak. An authenticated administrator with the `manage-clients` role can exploit a Time-of-check ... 2026-05-28
These CVEs affect the same products