CVE-2026-42230
MEDIUM 5.1CVSS 4.0n8n has Open Redirect in MCP OAuth Consent Flow
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.
- Published
- 4 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-f6x8-65q6-j9m9
- Sources
- NVDJSONOSV GHSA-f6x8-65q6-j9m9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* |
< 1.123.32 | 1.123.32 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* |
>= 2.17.0, < 2.17.4 | 2.17.4 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:* |
= 2.18.0 | |
| OSV | npm | n8n | < 1.123.32 | 1.123.32 |
| OSV | npm | n8n | >= 2.18.0, < 2.18.1 | 2.18.1 |
| OSV | npm | n8n | >= 2.0.0, < 2.17.4 | 2.17.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-f6x8-65q6-j9m9 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42230 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Apr 2026)