Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Lifecycle Timeline
1Blast Radius
ecosystem impact- 61 maven packages depend on org.keycloak:keycloak-services (28 direct, 33 indirect)
Ecosystem-wide dependent count for version 26.6.2.
DescriptionCVE.org
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.
AnalysisAI
Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abusing a parser discrepancy between Keycloak and Java's URI implementation during redirect URL validation. The flaw applies only to clients configured with a wildcard ('*') in the 'Valid Redirect URIs' field and requires the victim to click a crafted link, with no public exploit identified at time of analysis.
Technical ContextAI
Keycloak is a widely deployed open-source identity and access management platform; the affected component is the redirect URI validator used during OAuth2/OIDC authorization flows. The root cause is CWE-601 (URL Redirection to Untrusted Site / Open Redirect), driven by a parser-differential bug: when a URL contains multiple '@' characters in the user-info portion (e.g., 'https://trusted.example.com@@attacker.tld'), Java's java.net.URI parser does not populate the userInfo field and exposes only the raw authority string, while Keycloak's validation logic falls back to a permissive wildcard comparison and accepts the malformed authority as valid. The affected CPE is cpe:2.3:a:red_hat:red_hat_build_of_keycloak, confirming the Red Hat distribution as the in-scope product.
RemediationAI
Patch availability per vendor advisory should be confirmed directly at https://access.redhat.com/security/cve/CVE-2026-7504 and https://bugzilla.redhat.com/show_bug.cgi?id=2464128, as no exact fix version was provided in the input data. The most effective compensating control is to remove the wildcard from every client's 'Valid Redirect URIs' and replace it with an explicit allowlist of exact redirect URIs or scheme+host prefixes, which eliminates the vulnerable code path entirely at the cost of requiring each new redirect target to be registered. Where wildcards cannot be removed immediately for operational reasons, constrain them to the narrowest scheme/host pattern possible, audit existing clients for '*' entries via the admin REST API, and consider front-end URI sanitization at a reverse proxy to reject authorize-endpoint requests whose redirect_uri parameter contains multiple '@' characters - noting that proxy-level filtering can break legitimate flows that legitimately use user-info syntax.
More in Open Redirect
View allA malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca
GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect
Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to
Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows
Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b
Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li
Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites
Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for
Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link. Rated crit
Vendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30890
GHSA-rp95-xpg9-c2cq