5.3medium
n8n - Disk Space Exhaustion via Data-Table File Upload Endpoint
- Severity
- 5.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-w867-jm58-p9pv
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n n8n | from 2.0.0 before 2.28.0, before 1.123.58 Not affected: 2.28.0, 1.123.58 | CVE List, NVD |
| n8n (npm) | from 2.0.0 before 2.28.0, before 1.123.58 | GitHub Advisory Database |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
An authenticated user can repeatedly upload files to the data-table upload endpoint, bypassing the per-request quota check, which does not account for files already written to the shared temporary directory. This causes temporary files to accumulate on disk until the periodic cleanup runs, potentially exhausting available disk space on the host.
Patches
Users should upgrade to the patched version once available to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Set
uploadMaxFileSizeto a low value to limit individual upload size. - Monitor and alert on disk usage in the n8n temporary upload directory.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
n8n antes de 2.28.0 (y antes de 1.123.58 en la rama 1.x) contiene una vulnerabilidad de agotamiento de espacio en disco en el endpoint de carga de archivos de la tabla de datos. La verificación de cuota por solicitud no tiene en cuenta los archivos ya escritos en el directorio temporal compartido, permitiendo a un usuario autenticado cargar repetidamente archivos que se acumulan en el disco hasta que se ejecuta la limpieza periódica, agotando potencialmente el espacio en disco disponible en el host.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58661 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w867-jm58-p9pv changed 2026-07-22 | CC-BY-4.0 |
| NVD | CVE-2026-58661 changed 2026-10-29 | Public domain |