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 redirecturi values to be registered. When a user denies the MCP OAuth consent dialog, the handleDeny handler redirects the user to the registered redirecturi 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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42230.json",
"cwe_ids": [
"CWE-601"
],
"cna_assigner": "GitHub_M"
}{
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"cpe": [
"cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*",
"cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.123.32"
},
{
"introduced": "2.17.0"
},
{
"fixed": "2.17.4"
},
{
"introduced": "2.18.0"
},
{
"last_affected": "2.18.0"
}
]
}