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
Share

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/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
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
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 15, 2026 - 13:03 EUVD
Source Code Evidence Fetched
Jul 15, 2026 - 12:38 vuln.today
Analysis Generated
Jul 15, 2026 - 12:38 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in N8n

View all
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-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-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

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

CVE-2026-33663 HIGH POC
8.5 Mar 25

n8n workflow automation platform Community Edition contains an authorization bypass vulnerability allowing authenticated

CVE-2023-27564 HIGH POC
7.5 May 10

The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is

Share

CVE-2026-56352 vulnerability details – vuln.today

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