Skip to main content

n8n CVE-2026-56352

| EUVDEUVD-2026-44625 MEDIUM
Path Traversal (CWE-22)
2026-07-15 VulnCheck GHSA-w243-4jxf-88rr
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain authenticated n8n credentials with workflow permissions
  2. Delivery
    Send crafted REST API request to ExecuteWorkflow node
  3. Exploit
    Supply arbitrary file path via localFile source parameter
  4. Install
    Bypass N8N_RESTRICT_FILE_ACCESS_TO restriction
  5. C2
    Enumerate sensitive file existence via differential error responses
  6. Execute
    Identify valid workflow JSON on host filesystem
  7. Impact
    Load and execute target workflow to trigger downstream system actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated n8n account with permission to create or modify workflows - unauthenticated attackers and accounts without workflow permissions cannot reach the vulnerable code path. The attack is delivered exclusively via the n8n REST API using the 'localFile' source option of the ExecuteWorkflow node; since this option is hidden from the UI since n8n v1.2, exploitation cannot occur through the standard web interface and requires deliberate API-level interaction. The N8N_RESTRICT_FILE_ACCESS_TO environment variable must be configured as a security control for the bypass to represent a meaningful security boundary violation - deployments that do not set this variable have no restriction to bypass, though arbitrary file path access is still possible. The elevated impact of workflow execution is further limited to filesystem paths where valid workflow JSON happens to exist. These factors collectively limit realistic exploitation to insider threats, compromised workflow-editor accounts, or multi-tenant deployments where not all editors are fully trusted.

Impact

The CVSS 4.0 score of 5.3 (Medium) appropriately reflects the authenticated barrier (PR:L), which meaningfully limits the exploitable population to users who already have workflow creation or modification rights. The network vector (AV:N), low complexity (AC:L), and absence of attack requirements (AT:N) mean that once authentication is satisfied, exploitation is trivial. The dual-impact nature - file existence probing plus conditional workflow execution - materially exceeds what the moderate score alone conveys, particularly because n8n workflows commonly integrate with databases, cloud APIs, internal services, and credential stores; executing an attacker-chosen workflow file could cascade into those downstream systems (reflected in SC:L/SI:L). EPSS data was not provided in the available intelligence, so exploitation probability cannot be quantitatively compared. No CISA KEV listing exists, and no POC has been identified, suggesting this is currently a limited-disclosure finding rather than an actively weaponized issue. Real-world priority is elevated in deployments where not all workflow editors are fully trusted administrators, and in environments that rely on N8N_RESTRICT_FILE_ACCESS_TO as a meaningful security boundary - those environments are directly undermined by this flaw.

Exploit ScenarioDerived

An authenticated n8n user with workflow modification rights bypasses the UI entirely and issues a crafted REST API request targeting the ExecuteWorkflow node with an arbitrary file path supplied via the localFile source parameter - for example pointing at /etc/passwd or application credential files - and infers file existence from the differing error responses returned by the server. If the attacker discovers a path containing valid workflow JSON (such as an exported workflow from another tenant or a sensitive automation definition stored on the host), they trigger a second request to load and execute that file, causing the n8n engine to run the workflow and invoke all downstream integrations it references, such as database queries, webhook calls, or cloud API operations.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

File path restriction bypass in n8n before 2.19.3 allows authenticated users with workflow creation or modification rights to circumvent the N8N_RESTRICT_FILE_ACCESS_TO security boundary via a legacy REST API code path, enabling arbitrary file existence disclosure on the host filesystem. Where a targeted path contains valid workflow JSON, that file can additionally be loaded and executed by the n8n engine, potentially triggering downstream actions on all systems connected to that workflow. No public exploit or active exploitation has been identified at time of analysis, but the low complexity and broad impact on connected downstream systems make this a meaningful risk in multi-tenant or partially-trusted deployments.

RemediationAI

The primary remediation is to upgrade n8n to version 2.19.3 or 2.20.0 (or any later release), as confirmed by the vendor in GHSA-2vx9-7wpg-88jq (https://github.com/n8n-io/n8n/security/advisories/GHSA-2vx9-7wpg-88jq). If an immediate upgrade is not feasible, the vendor identifies two temporary mitigations, both explicitly noted as incomplete: first, restrict workflow creation and editing permissions to fully trusted administrators only - this requires auditing all existing user grants and prevents untrusted insiders from exploiting the REST API path, but does not close the underlying code path; second, restrict network access to the n8n REST API via firewall rules, API gateway controls, or network segmentation to trusted hosts only - this reduces external exposure but does not protect against insider threats or already-compromised accounts. Neither workaround eliminates the vulnerable code path; both are short-term measures pending upgrade.

Affected VersionsENISA

n8n 0 <2.19.3

Affected Packages

npm n8n fix: 2.19.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is an open-source workflow automation platform distributed as the npm package 'n8n', affected across all versions captured by CPE cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:* prior to 2.19.3. The vulnerable code path is the ExecuteWorkflow node's 'localFile' source option, which reads workflow definition files directly from disk. Unlike other file-reading nodes in n8n that enforce the N8N_RESTRICT_FILE_ACCESS_TO environment variable to sandbox permitted filesystem paths, this legacy option omits those checks entirely. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, 'Path Traversal'): attacker-controlled file paths are accepted and resolved without canonicalization or directory boundary enforcement. Although this option was removed from the n8n UI in version 1.2, the underlying REST API endpoint was not disabled, leaving the code path reachable by any client that can construct a raw API request.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.4 MEDIUM

Network REST API access with low-privilege authenticated user; scope changes to downstream connected systems justify S:C; confidentiality and integrity impacts are limited to file disclosure and workflow execution respectively.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 15, 2026 - 13:03 EUVD

DescriptionCVE.org

n8n before 2.19.3 contains a file path restriction bypass in the legacy ExecuteWorkflow node's localFile source option, which reads workflow files from disk without the file-access checks enforced by other file-reading nodes. Although hidden from the UI since v1.2, it remains reachable via the REST API. An authenticated user with permission to create or modify workflows can supply an arbitrary file path to bypass the N8N_RESTRICT_FILE_ACCESS_TO restriction and determine whether arbitrary files exist on the host; where the targeted path contains a valid workflow JSON file, that file can additionally be loaded and executed.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular open-source workflow automation with growing DevOps adoption
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy