Skip to main content

n8n CVE-2026-72762

| EUVDEUVD-2026-56141 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-11 VulnCheck GHSA-rwvr-8f8w-f6hc
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to n8n instance with workflow execution rights
  2. Delivery
    Create or modify workflow containing Edit Image node
  3. Exploit
    Inject crafted format parameter with path traversal or library directive
  4. Execution
    Execute workflow to trigger file write operation
  5. Persist
    Write arbitrary bytes to target filesystem path
  6. Impact
    Leverage written file for persistence or privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

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

Exploitation Conditions

Exploitation requires the attacker to hold an active n8n account with the ability to create or trigger workflow executions - this is a PR:L (low privilege) requirement, not unauthenticated. The Edit Image node must be available and not excluded via NODES_EXCLUDE; excluding n8n-nodes-base.editImage via that environment variable fully blocks this specific attack path. The CVSS 4.0 metrics AC:H and AT:P indicate that additional attack conditions must be present beyond network access, but the advisory does not enumerate these explicitly - this is a gap in the available intelligence. The file write's reachable impact is bounded by the operating system permissions of the n8n process user; if n8n runs as a non-privileged user, writable paths are constrained to that user's accessible filesystem. No user interaction from a victim is required beyond the attacker's own workflow execution. The vulnerability does not require a specific n8n configuration beyond the default installation with the Edit Image node enabled.

Impact

The CVSS 4.0 score of 7.7 with vector AV:N/AC:H/AT:P/PR:L reflects a real but access-gated threat: exploitation requires authenticated workflow execution rights, elevated attack complexity, and the presence of additional preconditions (AT:P), suggesting this is not trivially mass-exploitable. EPSS data was not provided, and this CVE is not listed in the CISA KEV catalog, both of which temper urgency compared to fully unauthenticated or KEV-listed flaws. That said, the high vulnerable-system impact ratings (VC:H/VI:H/VA:H) correctly capture the worst-case outcome - a workflow user who can craft a malicious Edit Image node invocation may overwrite SSH authorized_keys, cron jobs, or application configuration files, ultimately achieving persistence or privilege escalation on the host. In practice, even a mid-sized development team in sopot operating a self-hosted n8n instance for internal ETL pipelines should treat this as an urgent patch because n8n deployments routinely grant workflow execution rights to multiple developers, and the barrier from 'workflow user' to 'arbitrary file write' is a single crafted node invocation. The key limiting factor is PR:L: organizations that restrict n8n access to fully trusted operators and rotate credentials tightly face substantially reduced real-world risk. The AC:H and AT:P ratings suggest the exploit path requires specific knowledge of the image library's format handling and possibly specific deployment conditions - precise details of these preconditions are not fully enumerated in the advisory, which is a gap. SSVC signals: exploitation status is 'none' (no public exploit), automatable assessment is uncertain pending technical detail, and technical impact is 'total' on the vulnerable component.

Exploit ScenarioDerived

An authenticated n8n user with workflow execution rights creates or modifies a workflow containing an Edit Image node and sets the output format parameter to a crafted value that the underlying image library interprets as a path directive, redirecting the file write to a sensitive location such as the n8n host's SSH authorized_keys file or a cron directory. Upon executing the workflow, the image library writes attacker-controlled bytes to the target path without n8n intercepting or restricting the operation. No public exploit code has been identified at time of analysis, but the fix commit is public, making independent exploit derivation feasible for a motivated researcher.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Aug 11, 2026

Arbitrary file write in n8n's Edit Image node allows authenticated workflow users to escape the node's designated working directory by injecting unsanitized format parameter values into the underlying image library. All n8n releases before 1.123.67 on the 1.x line, before 2.31.5 on the 2.x line, and before 2.32.1 on the 2.32.x line are affected, as confirmed by the GHSA-xmc9-4f2h-jf9c advisory from the n8n maintainers. No public exploit code has been identified at time of analysis, but patched versions and a remediation commit are available, and no special attacker position beyond workflow execution privileges is required.

RemediationAI

The primary fix is to upgrade n8n to one of the three patched releases: 1.123.67 (1.x series), 2.31.5 (2.x series), or 2.32.1 (2.32.x series), all confirmed by the GHSA-xmc9-4f2h-jf9c advisory and the upstream patch commit at https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f. For operators unable to upgrade immediately, the vendor recommends two short-term mitigations, both of which carry trade-offs: first, restrict n8n instance access to fully trusted users only - this reduces exposure but does not eliminate the vulnerability if any authenticated user is considered a threat actor; second, disable the Edit Image node entirely by adding n8n-nodes-base.editImage to the NODES_EXCLUDE environment variable - this prevents exploitation of this specific vector but removes image editing capability from all workflows. The advisory explicitly states these workarounds do not fully remediate the risk and are intended only as temporary measures pending upgrade. Refer to the full advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-xmc9-4f2h-jf9c for the latest guidance.

Affected VersionsENISA

n8n 0 <2.32.1
n8n 0 <1.123.67
n8n 0 <2.31.5

Affected Packages

npm n8n fix: 1.123.67, 2.31.5, 2.32.1

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 a Node.js-based workflow automation platform distributed via npm under the package name n8n (vendor n8n-io). The Edit Image node provides image manipulation capabilities and internally delegates processing to an underlying image library - likely Sharp, GraphicsMagick, or a similar native binding. The library accepts a format string to determine the output encoding and file destination, and n8n forwarded the caller-supplied format value to this library without sanitization or path restriction. This maps to CWE-434 (Unrestricted Upload of File with Dangerous Type), where the application trusts user-controlled input to determine the file type or write location without validation. By supplying a crafted format value - for example, one containing path traversal sequences or a library-specific directive that encodes an absolute path - an attacker can redirect the image library's file write operation to an arbitrary location accessible under n8n's process credentials. The CPE string cpe:2.3:a:n8n-io:n8n:* confirms the vulnerability covers the n8n application across all editions without platform restriction.

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 7.7 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.5 HIGH

Network vector, low privilege required; scope change reflects writes escaping working directory to host paths; AC:H per CVSS 4.0 source and unspecified preconditions.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 13:17 EUVD
CVE Published
Aug 11, 2026 - 12:17 cve.org
HIGH 7.7

DescriptionCVE.org

n8n versions before 1.123.67, 2.31.5, and 2.32.1 contain an arbitrary file write vulnerability in the Edit Image node, which passes its output format parameter to the underlying image library without validation. An authenticated user able to run workflows can supply a crafted format value to write arbitrary files outside the node's working directory on the n8n instance.

Executive ViewAI

Why It Matters

n8n versions before 1.123.67 (1.x), 2.31.5 (2.x), and 2.32.1 (2.32.x) contain an arbitrary file-write vulnerability in the Edit Image node that allows workflow operators to access and modify files outside their intended working directory. This impacts any organization using n8n where multiple users design workflows, potentially exposing sensitive files or enabling system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
self-hosted workflow automation tool, common in developer and DevOps teams
Data Quality
7 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

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

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