Disclosed vulnerabilities
Fixed: Apr 22, 2026
CVE-2026-42230 Published: Apr 22, 2026

n8n has Open Redirect in MCP OAuth Consent Flow

5.1 Medium Severity
Ori Ron Reported by Checkmarx Zero

Summary

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, the /mcp-oauth/register endpoint accepted OAuth client registrations without authentication, allowing arbitrary redirect_uri values to be registered. When a user denies the MCP OAuth consent dialog, the handleDeny handler redirects the user to the registered redirect_uri without validation, enabling an open redirect to an attacker-controlled URL. An attacker can craft a phishing link and send it to a victim; if the victim clicks “Deny” on the consent page, they are silently redirected to an external site.

Product

This vulnerability affects n8n versions 1.123.32, 2.17.4, and 2.18.1

Impact

The /mcp-oauth/register endpoint accepted OAuth client registrations without authentication, allowing arbitrary redirect_uri values to be registered. When a user denies the MCP OAuth consent dialog, the handleDeny handler redirects the user to the registered redirect_uri without validation, enabling an open redirect to an attacker-controlled URL. An attacker can craft a phishing link and send it to a victim; if the victim clicks “Deny” on the consent page, they are silently redirected to an external site.

Remediation

The issue has been fixed in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Credit

This issue was discovered and reported by Checkmarx Senior Security Researcher Ori Ron.

Resources

  1. Open Redirect in MCP OAuth Consent Flow

Stay connected and never miss a research update!