Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-42230

CVE-2026-42230: n8n has Open Redirect in MCP OAuth Consent Flow

April 29, 2026 (updated May 8, 2026)

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.

References

  • github.com/advisories/GHSA-f6x8-65q6-j9m9
  • github.com/n8n-io/n8n/security/advisories/GHSA-f6x8-65q6-j9m9
  • nvd.nist.gov/vuln/detail/CVE-2026-42230

Code Behaviors & Features

Detect and mitigate CVE-2026-42230 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.123.32, all versions starting from 2.0.0 before 2.17.4, all versions starting from 2.18.0 before 2.18.1

Fixed versions

  • 1.123.32
  • 2.17.4
  • 2.18.1

Solution

Upgrade to versions 1.123.32, 2.17.4, 2.18.1 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/n8n/CVE-2026-42230.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:25 +0000.