Open redirect in n8n - CVE-2026-126386
Published: November 9, 2026 / Updated: November 13, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to redirect visitors from an n8n instance to an arbitrary external destination.
The vulnerability exists due to the default-enabled MCP OAuth registration and authorization endpoints accepting an arbitrary redirect_uri and redirecting visitors before instance checks run. An unauthenticated remote attacker can register an OAuth client and persuade a victim to open a crafted authorization URL, causing the victim's browser to navigate to the attacker-selected destination.