CVE-2026-42230N8n
Medium 5.1 No auth needed
Follow: this CVE · N8n · N8n We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 4.0
- 5.1
- EPSS
- —
- Auth required
- No
- Published
- May 4, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/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
What happens
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
- Apply the vendor's security update for N8n.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | n8n |
< 1.123.32 |
1.123.32 |
npm install n8n@1.123.32 |
| npm | n8n |
≥ 2.18.0 < 2.18.1 |
2.18.1 |
npm install n8n@2.18.1 |
| npm | n8n |
≥ 2.0.0 < 2.17.4 |
2.17.4 |
npm install n8n@2.17.4 |
Per OSV / GitHub Advisories (GHSA-f6x8-65q6-j9m9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| n8n | n8n | < 1.123.32 |
| n8n | n8n | ≥ 2.17.0 < 2.17.4 |
| n8n | n8n | 2.18.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory