CVE-2026-3872: Keycloak: keycloak: information disclosure due to redirect_uri validation bypass
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-3872 is a Keycloak redirect handling flaw that can let an attacker redirect authentication results to a path they control on the same web server. If successful, an access token may be stolen, exposing protected information and potentially allowing account-level actions tied to that token.
Executive priority
Treat as high priority for identity platforms because token theft can affect confidentiality and downstream access. Prioritize internet-facing or multi-tenant Keycloak deployments and environments with wildcard redirect URI patterns.
Technical view
The issue is a redirect_uri validation bypass involving wildcard allowed paths in Red Hat build of Keycloak. It is classified as CWE-601 with CVSS 3.1 score 7.3. Exploitation requires network access, low privileges, user interaction, and control of another path on the same web server.
Likely exposure
Exposure is most likely in Red Hat build of Keycloak 26.2 or 26.4 deployments using wildcard redirect URIs where another party controls a sibling path on the same web server.
Exploitation context
The provided sources do not show CISA KEV listing or confirmed active exploitation. The described attack depends on a specific redirect configuration, attacker control of another same-server path, and user interaction during an authentication flow.
Researcher notes
Evidence is strongest for affected Red Hat build of Keycloak packages and the redirect_uri wildcard path bypass. Public details in the bundle do not establish exploit availability, active exploitation, or non-Red Hat product impact.
Mitigation direction
Review Red Hat advisories RHSA-2026:6475 through RHSA-2026:6478 for applicable fixed builds.
Update affected Red Hat build of Keycloak packages according to Red Hat guidance.
Avoid broad wildcard redirect URIs for sensitive clients where possible.
Restrict who can create or control paths on authentication callback web servers.
Review client redirect_uri allowlists for unnecessary wildcards.
Validation and detection
Inventory Red Hat build of Keycloak 26.2 and 26.4 deployments.
Compare installed package versions against Red Hat CVE and CSAF VEX data.
Identify clients using wildcard redirect URIs.
Check whether untrusted users control any same-server paths matching wildcard scope.
Review authentication logs for unusual redirects or unexpected callback paths.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-601: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
7Timeline events
2ADP providers
8Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-601 · source CWE mapping
URL Redirection to Untrusted Site ('Open Redirect')
URL Redirection to Untrusted Site ('Open Redirect') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.