{"id":"CVE-2026-58661","aliases":["CVE-2026-58661","GHSA-w867-jm58-p9pv"],"related":[],"kind":"vulnerability","state":"published","title":"n8n - Disk Space Exhaustion via Data-Table File Upload Endpoint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\nAn 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.\n\n## Patches\nUsers should upgrade to the patched version once available to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Set `uploadMaxFileSize` to a low value to limit individual upload size.\n- Monitor and alert on disk usage in the n8n temporary upload directory.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-10T13:58:01.635Z","modified":"2026-10-29T21:16:02.900Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","fixed":"2.28.0","status":"affected"},{"type":"semver","version":"2.28.0","status":"unaffected"}],"vendor":"n8n","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.58","status":"affected"},{"type":"semver","version":"1.123.58","status":"unaffected"}],"vendor":"n8n","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.28.0"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.58"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.58"},{"status":"affected","fixed":"1.123.58"},{"status":"affected","introduced":"2.0.0","fixed":"2.28.0"},{"status":"affected","introduced":"2.0.0","fixed":"2.28.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-w867-jm58-p9pv","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-disk-space-exhaustion-via-data-table-file-upload-endpoint","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58661","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.58","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.28.0","tags":["web"],"sources":["ghsa"]}],"credits":["CodeByMoriarty"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-10T16:43:17.458Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58661","url":"https://www.cve.org/CVERecord?id=CVE-2026-58661","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:02.900Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w867-jm58-p9pv","url":"https://github.com/advisories/GHSA-w867-jm58-p9pv","licence":"CC-BY-4.0","modified":"2026-07-22T22:31:06.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58661","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58661","licence":"Public domain","modified":"2026-10-29T19:17:24.210Z"}],"updatedAt":"2026-11-25T22:59:27.626Z","epss":{"score":0.00308,"percentile":0.25419,"date":"2026-12-01T12:00:22.000Z"}}