Quick Take
- What: Open redirect vulnerability in n8n’s MCP OAuth dynamic client registration flow
- Who is affected: n8n instances before version 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1
- Severity: CVSS 5.1 (Moderate), requires victim to click a crafted URL
- What to do: Upgrade to n8n 1.123.89, 2.45.5, 2.46.1, or 3.0.1
- Impact: Attackers can redirect victims to phishing sites, no tokens or session data exposed
In plain English
n8n is a workflow automation tool that helps developers connect different services. A security flaw in its OAuth system (the technology that lets apps connect to each other) allowed attackers to create fake links that would redirect people to malicious websites.
What you should do: If you clicked a specially crafted link pointing to an n8n server, you could be sent to a phishing site. No passwords or sensitive data were leaked in the redirect itself. If you use n8n, update to the latest version, otherwise you can ignore this.
What happened
The n8n workflow automation platform contained an open redirect vulnerability in its Model Context Protocol (MCP) OAuth implementation. The vulnerability existed in two unauthenticated endpoints, /mcp-oauth/register and /mcp-oauth/authorize, which were enabled by default and required no authentication.
According to the GitHub security advisory published by n8n maintainer Matsuuu on October 28, 2026, any caller could register an OAuth client with an arbitrary redirect_uri value via the /mcp-oauth/register endpoint. A crafted authorization URL would then redirect visitors to that URI before the instance’s validation checks ran, effectively turning the n8n instance into an open redirector.
The vulnerability affected n8n versions before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1. The advisory notes that no tokens or session data were included in the redirect, but exploitation required a victim to open a crafted URL.
VulnCheck assigned the vulnerability a CVSS v4 score of 5.1 (Moderate severity) with the vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N. The National Vulnerability Database assigned a CVSS score of 4.7.
The vulnerability was credited to researcher athul-DarkRange.
What you should do
Organizations running n8n should upgrade immediately to one of the patched versions: 1.123.89, 2.45.5, 2.46.1, or 3.0.1.
For organizations unable to upgrade immediately, n8n recommends several temporary mitigations. Administrators should restrict n8n instance access to fully trusted users only. Network-level controls or reverse-proxy rules can be applied to block unauthenticated access to the /mcp-oauth/register and /mcp-oauth/authorize endpoints. Users should be educated not to follow unsolicited links pointing to the n8n instance’s OAuth endpoints.
The advisory emphasizes that these workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
What it means
Open redirect vulnerabilities are commonly exploited in phishing campaigns. While this particular flaw does not leak credentials or session tokens directly, attackers can use a trusted n8n domain to bypass email filters and browser warnings, making phishing attacks more convincing.
The fact that the vulnerable endpoints were enabled by default and required no authentication significantly increased the attack surface. Any publicly accessible n8n instance could be weaponized as a redirector without the attacker needing any credentials.
The vulnerability affects the MCP OAuth flow, which is part of n8n’s integration capabilities. Organizations using n8n to orchestrate workflows between multiple services should prioritize patching, as the OAuth endpoints are central to these integrations.



