n8nPublished 4 May 2026NVD status: Analyzed

CVE-2026-42230

n8n is an open source workflow automation platform.

Componentn8n
Severitymedium (CVSS 6.1)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published (NVD)2026-05-04
Last modified2026-11-11
Affected versions
< 1.123.32
>= 2.0.0, < 2.17.4
>= 2.18.0, < 2.18.1
from the GitHub-reviewed advisory GHSA-f6x8-65q6-j9m9
Fixed in1.123.32, 2.17.4, 2.18.1
WeaknessCWE-601
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads < 1.123.32; >= 2.17.0, < 2.17.4; = 2.18.0. The ranges above come from the GitHub-reviewed advisory GHSA-f6x8-65q6-j9m9. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD description

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.

What to do

  • Upgrade n8n to the fixed release of the branch you run: 1.123.32, 2.17.4 or 2.18.1, or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more