CVE-2026-145806 in Synapseinfo

Summary

by MITRE • 12/06/2026

Synapse through 1.166.0 contains an open redirect vulnerability that allows unauthenticated attackers to bypass next_link_domain_whitelist by supplying unvalidated next_link values to registration requestToken endpoints. Attackers can request a registration token for a victim's email, causing a genuine verification email whose link redirects the victim to an attacker-controlled site.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 12/06/2026

The vulnerability identified in Synapse versions through 1.166.0 represents a critical authentication bypass mechanism rooted in improper validation of user-supplied input during the account registration process. Specifically, this flaw manifests as an open redirect within the next_link_domain_whitelist functionality. The application is designed to restrict redirection targets to a predefined list of trusted domains to prevent phishing attacks and session hijacking. However, due to insufficient sanitization or logic errors in how these whitelist entries are processed, attackers can supply unvalidated next_link values that circumvent this security control. This allows an attacker to manipulate the flow of the registration token request endpoint so that instead of redirecting to a legitimate internal page, the user agent is directed toward a domain controlled by the adversary.

From a technical perspective, the exploitation vector relies on the interaction between the registration API and the subsequent email verification step. When an unauthenticated actor initiates a registration request for a victim's email address, they can inject malicious parameters into the next_link field. Upon successful processing of this request, Synapse generates a genuine verification token and sends it to the victim via email. The crucial security failure occurs when the victim clicks the link within that email; rather than completing the account setup on the legitimate server, the browser is redirected to an external site specified by the attacker. This bypass effectively neutralizes the protective intent of the domain whitelist, turning a standard passwordless or token-based authentication flow into a vehicle for social engineering attacks.

The operational impact of this vulnerability extends beyond simple redirection and poses significant risks related to credential theft and phishing campaigns. By leveraging genuine verification emails from Synapse, an attacker gains high trust with end-users because the email originates from a known and trusted service provider. The victim is likely to click on the link without suspicion, believing they are completing their account registration or password reset. Once redirected to the malicious site, users may be presented with a convincing replica of the login page designed to harvest credentials, session cookies, or other sensitive personal information. This technique exploits the psychological trust associated with official communication channels, making it particularly effective for large-scale phishing operations targeting Synapse Matrix server instances and their user bases.

In terms of industry classification standards, this vulnerability aligns closely with CWE-601, which describes URL Redirection to Untrusted Site (Open Redirect). The failure lies in the application's inability to properly validate that the destination URI belongs to an allowed domain before executing the redirect operation. Furthermore, from a tactical perspective within the MITRE ATT&CK framework, this behavior facilitates Initial Access through Phishing techniques, specifically leveraging trusted domains to increase click-through rates. It also relates to CWE-20, Improper Input Validation, as the system fails to adequately sanitize or verify the next_link parameter against the configured whitelist before processing it for redirection purposes.

To mitigate this vulnerability and protect affected instances, administrators must upgrade Synapse to version 1.167.0 or later where these input validation checks have been strengthened. Until an upgrade is feasible, defensive measures should include implementing strict Content Security Policy headers that restrict navigation targets if possible, although this may interfere with legitimate functionality. Additionally, monitoring logs for unusual patterns in registration requests involving external domains can help identify ongoing exploitation attempts. It is also advisable to review the configuration of next_link_domain_whitelist to ensure it contains only essential and verified domains, minimizing the attack surface should similar flaws exist elsewhere in the application logic. Regular security audits focusing on authentication flows and redirect mechanisms are recommended to detect and remediate such input validation weaknesses proactively.

Responsible

VulnCheck

Reservation

12/06/2026

Disclosure

12/06/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!