Skip to main content

n8n CVE-2026-58661

| EUVDEUVD-2026-42893 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
5.3
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 low-privileged credentials
  2. Delivery
    Identify data-table file upload endpoint
  3. Exploit
    Repeatedly upload files within per-request quota
  4. Execution
    Accumulate files in shared temp directory between cleanup cycles
  5. Persist
    Exhaust host disk space
  6. Impact
    Disrupt n8n and co-resident services

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires a valid authenticated session on the n8n instance (PR:L per CVSS 4.0 vector); unauthenticated external attackers cannot exploit this directly. The specific prerequisite is access to the data-table file upload endpoint, which is part of n8n's core functionality and is not a non-default or separately toggled feature - any authenticated user on an unpatched instance can reach it. The attack is constrained by the periodic cleanup schedule: exploitation is a sustained, iterative process rather than a single-request trigger. Deployments where disk space is large or n8n runs in a container with a dedicated volume mount are materially less exposed than single-server deployments with shared disk. There is no required special configuration, non-default mode, or specific platform - any network-reachable, unpatched n8n instance with at least one authenticated user is potentially vulnerable.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L) scores this at 5.3, reflecting a network-reachable, low-complexity availability impact requiring low privileges. Real-world risk is modestly higher than the score implies: disk exhaustion on the host can cascade beyond n8n itself to affect all co-resident processes and services, yet the CVSS 4.0 subsequent-system metrics (SC:N/SI:N/SA:N) do not capture this. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, nor is any public exploit code known. The requirement for a valid authenticated session (PR:L) is a meaningful constraint - anonymous external attackers cannot exploit this - but in deployments where n8n user registration is open or credentials are shared, this barrier is thin. The temporal element (exploitation requires sustained uploading between cleanup cycles) also reduces the risk of instantaneous impact compared to a direct crash vulnerability. Overall: a real but non-critical operational risk, primarily threatening self-hosted single-server deployments where disk space is limited and n8n is accessible to semi-trusted or untrusted authenticated users.

Exploit ScenarioDerived

An authenticated n8n user with minimal privileges - such as a viewer or editor granted access to a shared workflow - writes a simple script that repeatedly POSTs file uploads to the data-table endpoint. Each individual upload passes the per-request quota check because the check is stateless; the files accumulate in the shared temporary directory between cleanup runs. Over the course of minutes to hours depending on upload size and cleanup interval, the host disk fills, crashing n8n and potentially disrupting other services running on the same host. No public exploit code is known at time of analysis.

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 10, 2026

Disk space exhaustion in n8n's data-table file upload endpoint allows an authenticated user to progressively fill the host's disk by repeatedly uploading files whose cumulative size is never checked against what already exists in the shared temporary directory. Affected versions span all n8n releases before 2.28.0 on the 2.x branch and before 1.123.58 on the 1.x branch. The flaw is rooted in a stateless per-request quota that ignores previously written files, enabling a low-privileged user to loop uploads between periodic cleanup cycles until disk space is exhausted, potentially disrupting the host and all co-resident services. No public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Upgrade n8n to version 2.28.0 or later on the 2.x branch, or to version 1.123.58 or later on the 1.x branch; these are the vendor-released fixed versions per the GitHub Security Advisory GHSA-w867-jm58-p9pv (https://github.com/n8n-io/n8n/security/advisories/GHSA-w867-jm58-p9pv). If an immediate upgrade is not possible, reduce the period between temporary directory cleanup cycles to limit the accumulation window - the trade-off is increased I/O overhead from more frequent cleanup. Operators can also restrict file upload access at the reverse proxy or network layer to a limited set of trusted user IP ranges, accepting the trade-off of reduced accessibility. Enforcing per-user or per-session disk quotas at the OS level (e.g., via tmpfs with a size limit for the temp directory) provides an independent compensating control that caps blast radius even if the application-level check is bypassed; the trade-off is that a full tmpfs may cause upload failures for legitimate users. Disabling the data-table file upload feature entirely is the most effective workaround if the feature is not operationally required.

Affected VersionsENISA

n8n 0 <2.28.0
n8n 0 <1.123.58

Affected Packages

npm n8n fix: 1.123.58, 2.28.0

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, self-hostable workflow automation platform (CPE: cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*). Its data-table feature exposes a file upload endpoint that writes incoming files to a shared temporary directory on the host filesystem. The root cause is classified as CWE-770 (Allocation of Resources Without Limits or Throttling): the per-request quota enforcement checks only the size of the file in the current request, never aggregating or querying the running total of files already present in the shared temp directory from prior requests. Because the temporary directory is shared across all users and requests and cleanup is periodic rather than immediate, an authenticated user can issue rapid successive upload requests, each individually within quota, while the cumulative on-disk footprint grows unboundedly until the next cleanup cycle. This is a classic TOCTOU-adjacent resource exhaustion pattern in upload handling.

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:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable and low-complexity; low privileges required; disk exhaustion rated High as it can fully impact host availability beyond n8n alone.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 10, 2026 - 16:16 EUVD

DescriptionCVE.org

n8n before 2.28.0 (and before 1.123.58 on the 1.x branch) contains a disk space exhaustion vulnerability in the data-table file upload endpoint. The per-request quota check does not account for files already written to the shared temporary directory, allowing an authenticated user to repeatedly upload files that accumulate on disk until the periodic cleanup runs, potentially exhausting available disk space on the host.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular open-source workflow automation tool, widely self-hosted by developers and SMBs
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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