{"id":"CVE-2026-42230","published":"2026-05-04T18:28:43Z","modified":"2026-05-04T19:56:27Z","title":"n8n: Open Redirect in MCP OAuth Consent Flow","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00181,"percentile":0.0788,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-f6x8-65q6-j9m9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":1.58},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.32",">= 2.17.0, < 2.17.4",">= 2.18.0, < 2.18.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-04T19:55:49.415422Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.32",">=2.18.0, <2.18.1",">=2.0.0, <2.17.4"],"patched":["1.123.32","2.18.1","2.17.4"],"from":["GHSA-f6x8-65q6-j9m9"],"provenance":"source"}],"summary":{"text":"The n8n workflow automation platform contains an open redirect flaw in its MCP OAuth consent flow, where the /mcp-oauth/register endpoint accepts client registrations without authentication, allowing arbitrary redirect_uri values to be registered. An attacker can exploit this by sending a crafted phishing link to a victim, who must click \"Deny\" on the consent dialog to be silently redirected to an attacker-controlled external site.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:22Z"},"euvd":{"id":"EUVD-2026-27100","exploited":false,"provenance":"source"}}