CVE-2026-126386: n8n Open Redirect Flaw in MCP OAuth Registration

n8n workflow automation platform shipped with an open redirect vulnerability in its unauthenticated MCP OAuth endpoints, allowing attackers to craft phishing URLs that redirect victims to malicious sites.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 3 min read
Share
A developer reviewing security alerts on a laptop screen in a dimly lit office, with code visible on a secondary monitor
Image: AI-generated, i10X
On this page
  1. Quick Take
  2. In plain English
  3. What happened
  4. What you should do
  5. What it means
  6. Sources
i10X Quick Take

Quick Take

  1. What: Open redirect vulnerability in n8n’s MCP OAuth dynamic client registration flow
  2. 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
  3. Severity: CVSS 5.1 (Moderate), requires victim to click a crafted URL
  4. What to do: Upgrade to n8n 1.123.89, 2.45.5, 2.46.1, or 3.0.1
  5. 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.

Sources

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Editor's picks

  1. Georgia Tech’s Academic AI Playbook: 20 Lessons From 67 Real Courses, Free to Reuse
  2. Arcfront’s $1B Run Rate: What the AI Data Startup Confirms and What It Doesn’t
  3. GPT-6.2 Astra Tops Blueprint-Bench 2, 70% Above May Leader GPT-5.5
  4. Deutsche Telekom Puts 100 Million Euros Into Mistral for Sovereign AI in Germany
  5. Inkling 2 Mini: Thinking Machines’ Looped Open Model Tops Qwen on Coding Tests