Keycloak Wildcard Redirect URIs Can Be Bypassed by an Attacker Controlling Another Path on the Same Server, Risking Access Token Theft
Last refreshed2026-11-20
Status: UPDATED
| Advisory ID: CVE-2026-3872
Key Details
CVE
CVE-2026-3872
CVSS Score / Version
7.3 (High) / CVSS v3.1
Updated
2026-10-26
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVSS Prose
attack vector is network; attack complexity is low; privileges required is low; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is none.
Affected products
Red Hat Build of Keycloak, Red Hat build of Keycloak 26.2, and Red Hat build of Keycloak 26.4
Classified as
CWE-601 (URL Redirection to Untrusted Site ('Open Redirect'))
Exploitation prediction (EPSS)
0.46% probability of exploitation in the next 30 days (41% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Red Hat
Red Hat Build of Keycloak
Red Hat
Red Hat build of Keycloak 26.2
Red Hat
Red Hat build of Keycloak 26.4
Subsystems
OT Supporting Infrastructure
Sectors
Multiple
What to Know
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. (NVD)
What to Do
New Red Hat build of Keycloak 26.2.15 packages are available from the Customer Portal. Solution: Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Source: Red Hat RHSA-2026:6475