CVE-2026-42230
Published:May 04, 2026
Updated:June 25, 2026
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. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
Affected Packages
n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32n8n (NPM):
Affected version(s) >=2.0.0 <2.17.4Fix Suggestion:
Update to version 2.17.4n8n (NPM):
Affected version(s) =2.18.0 <2.18.1Fix Suggestion:
Update to version 2.18.1n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32n8n (NPM):
Affected version(s) >=0.0.1 <2.17.4Fix Suggestion:
Update to version 2.17.4n8n (NPM):
Affected version(s) >=0.0.1 <2.18.1Fix Suggestion:
Update to version 2.18.1Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
URL Redirection to Untrusted Site ('Open Redirect')
EPSS
Base Score:
0.18