Severity by source
AV:N/AC:L/PR:L/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:L/UI:R/S:U/C:H/I:H/A:N
Lifecycle Timeline
5Blast Radius
ecosystem impact- 53 maven packages depend on org.keycloak:keycloak-services (25 direct, 28 indirect)
Ecosystem-wide dependent count for version 26.5.7.
DescriptionCVE.org
A flaw was found in Keycloak. This issue allows an attacker, who controls another path on the same web server, to bypass the allowed path in redirect Uniform Resource Identifiers (URIs) that use a wildcard. A successful attack may lead to the theft of an access token, resulting in information disclosure.
AnalysisAI
Open redirect in Red Hat Build of Keycloak allows authenticated attackers with control over another path on the same web server to bypass wildcard-based redirect URI validation and steal OAuth access tokens. Attack requires low complexity and user interaction (CVSS 7.3). EPSS and KEV status not available; no public exploit identified at time of analysis. This CWE-601 flaw enables token theft through maliciously crafted redirect flows, posing significant risk to SSO deployments where Keycloak shares a web server with attacker-controllable content.
Technical ContextAI
Keycloak is Red Hat's open-source identity and access management solution implementing OAuth 2.0, OpenID Connect, and SAML protocols. This vulnerability exploits CWE-601 (URL Redirection to Untrusted Site) in Keycloak's redirect URI validation logic. OAuth 2.0 authorization flows use redirect URIs to return authorization codes and tokens to client applications. Keycloak supports wildcard patterns in allowed redirect URIs for deployment flexibility. The flaw occurs when an attacker controls another path on the same web server hosting Keycloak-the wildcard validation can be bypassed to redirect the authorization flow to the attacker-controlled path. This breaks the fundamental OAuth security assumption that redirect URIs are pre-registered and trusted, allowing token interception. The affected product per CPE data is Red Hat Build of Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak), Red Hat's commercially supported Keycloak distribution.
RemediationAI
Consult Red Hat's official security advisory at https://access.redhat.com/security/cve/CVE-2026-3872 and associated Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2445988 for vendor-released patch details and exact fixed versions. Patch availability per vendor advisory; released patched version not independently confirmed from provided data. As interim mitigation, avoid using wildcard patterns in Keycloak redirect URI configurations-register exact, fully-qualified redirect URIs for each client application instead. In multi-tenant or shared hosting deployments, isolate Keycloak to a dedicated domain or subdomain with strict path controls to prevent attacker control over sibling paths. Review all registered OAuth clients to identify wildcard redirect URIs and replace with explicit allowlists. Monitor authorization flows for anomalous redirect destinations. Apply the vendor patch immediately upon release and validate redirect URI configurations post-upgrade.
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
Same technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-18206
GHSA-cjm2-j6cm-6p6m