Skip to content
FlawDB
Sign in

CVE-2026-126391

HIGH 7.7EPSS 38%

n8n before 1.123.89 RCE via Workflow Expression Evaluation Sandbox Escape

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, login needed
CVSS
7.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
CWE
CWE-94
Published
Modified

Description

n8n before 1.123.89, 2.0.0 before 2.45.5, 2.46.0 before 2.46.1, and 3.0.0 before 3.0.1 contains an insufficient isolation vulnerability in workflow expression evaluation that allows authenticated users to escape the sandbox. Attackers with permission to create or modify workflows can craft expressions referencing unexpected JavaScript properties to execute arbitrary code on the n8n host.

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-126391. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126391.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-126391 being exploited?

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

How serious is CVE-2026-126391?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-126391?

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-126391?

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-126391?

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