Skip to content
FlawDB
Sign in

CVE-2026-126386

MEDIUM 5.1EPSS 13%

n8n before 1.123.89 Open Redirect via MCP OAuth Dynamic Client Registration

Mitigation

  • Upgrade n8n to 1.123.89 or later.
  • Upgrade n8n to 2.46.1 or later.
  • Upgrade n8n to 2.45.5 or later.
  • Upgrade n8n to 3.0.1 or later.

Who should check

  • Anyone running n8n-io n8n < 1.123.89
  • Anyone running n8n-io n8n >= 2.46.0, < 2.46.1
  • Anyone running n8n-io n8n >= 2.0.0, < 2.45.5
  • Anyone running n8n-io n8n >= 3.0.0, < 3.0.1

Vulnerability facts

Affected
n8n-io n8n < 1.123.89; n8n-io n8n >= 2.46.0, < 2.46.1; n8n-io n8n >= 2.0.0, < 2.45.5; n8n-io n8n >= 3.0.0, < 3.0.1
Fixed in
n8n-io n8n 1.123.89, n8n-io n8n 2.46.1, n8n-io n8n 2.45.5, n8n-io n8n 3.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-601
Published
Modified

Description

n8n before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains an open redirect vulnerability in the unauthenticated MCP OAuth dynamic client registration flow, which accepts arbitrary redirect_uri values via the /mcp-oauth/register endpoint. Attackers can send victims crafted /mcp-oauth/authorize URLs that redirect them to attacker-controlled sites before instance checks run, enabling phishing.

Affected and fixed versions

Package / productAffectedFixedSource
n8n-io n8n< 1.123.89—cvelist
n8n-io n8n>= 2.46.0, < 2.46.1—cvelist
n8n-io n8n>= 2.0.0, < 2.45.5—cvelist
n8n-io n8n>= 3.0.0, < 3.0.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-126386. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126386.md
Affected: n8n-io n8n < 1.123.89; n8n-io n8n >= 2.46.0, < 2.46.1; n8n-io n8n >= 2.0.0, < 2.45.5; n8n-io n8n >= 3.0.0, < 3.0.1
Fixed in: n8n-io n8n 1.123.89, n8n-io n8n 2.46.1, n8n-io n8n 2.45.5, n8n-io n8n 3.0.1

Steps:
1. Search this machine and project for n8n-io n8n: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-126386 being exploited?

There is no confirmed exploitation: CVE-2026-126386 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-126386?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-126386?

n8n-io n8n < 1.123.89; n8n-io n8n >= 2.46.0, < 2.46.1; n8n-io n8n >= 2.0.0, < 2.45.5; n8n-io n8n >= 3.0.0, < 3.0.1.

Is there a fix for CVE-2026-126386?

Yes. Fixed in n8n-io n8n 1.123.89, n8n-io n8n 2.46.1, n8n-io n8n 2.45.5, n8n-io n8n 3.0.1. Upgrade n8n to 1.123.89 or later. Upgrade n8n to 2.46.1 or later. Upgrade n8n to 2.45.5 or later. Upgrade n8n to 3.0.1 or later.

How do I check if I'm affected by CVE-2026-126386?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 5.3CVE-2026-137957

n8n before 1.123.96, 2.47.6, 2.48.3, and 3.2.2 Path Traversal in Integration Nodes

n8n
MEDIUM 5.3CVE-2026-137958

n8n before 2.47.6, 2.48.3, and 3.2.2 SSRF via AWS Bedrock Custom Runtime Endpoint

n8n
MEDIUM 5.3CVE-2026-137959

n8n before 1.123.96, 2.47.6, 2.48.3, and 3.2.2 Improper Authorization in Workflow Activation Trigger Credentials

n8n+1
HIGH 7.5CVE-2026-130167

n8n: Custom Instance Role with User Management Permissions Gives Control of the Owner Account

n8n
EPSS 32%
HIGH 7.7CVE-2026-130166

n8n: Invitation Acceptance Endpoint Lets a Member Take Over Pending User Accounts

n8n
EPSS 41%
Sponsors