CVE-2026-42235
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, an unauthenticated attacker could register a malicious MCP OAuth client with a crafted client_name. If a victim user authorized the OAuth consent dialog and a second user subsequently revoked that access, a toast notification would render the injected script. Clicking the link would execute arbitrary JavaScript in the victim's authenticated n8n browser session, enabling credential and session token theft, workflow manipulation, or privilege escalation. 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 <2.18.1Fix Suggestion:
Update to version 2.18.1n8n (NPM):
Affected version(s) >=0.0.1 <2.17.4Fix Suggestion:
Update to version 2.17.4n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32n8n (NPM):
Affected version(s) >=2.17.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.1Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
LOW
CVSS v3
Base Score:
9.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.33