6.3medium
n8n: Denial of Service via ZIP decompression in webhook workflow
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jqpw-qww5-cj4c
Description
n8n is an open source workflow automation platform. Prior to 2.24.0, the Compression node's Decompress operation expanded attacker-controlled archives into memory without enforcing limits on decompressed output size. An unauthenticated attacker could send a small compressed archive to a public webhook workflow using this node, causing the n8n process to terminate due to memory exhaustion and disrupting all workflows in the same instance. This vulnerability is fixed in 2.24.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | < 2.24.0 | CVE List |
| n8n (npm) | before 2.24.0 | GitHub Advisory Database |
| n8n n8n | before 2.24.0 | NVD |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
n8n is an open source workflow automation platform. Prior to 2.24.0, the Compression node's Decompress operation expanded attacker-controlled archives into memory without enforcing limits on decompressed output size. An unauthenticated attacker could send a small compressed archive to a public webhook workflow using this node, causing the n8n process to terminate due to memory exhaustion and disrupting all workflows in the same instance. This vulnerability is fixed in 2.24.0.
GitHub Advisory Database
Impact
The Compression node's Decompress operation expanded attacker-controlled archives into memory without enforcing limits on decompressed output size. An unauthenticated attacker could send a small compressed archive to a public webhook workflow using this node, causing the n8n process to terminate due to memory exhaustion and disrupting all workflows in the same instance.
Patches
The issue has been fixed in n8n version 2.24.0. Users should upgrade to this version or later to remediate the vulnerability. The fix introduces configurable limits on decompressed output size (N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES) and ZIP entry count (N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES).
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Disable the Compression node by adding
n8n-nodes-base.compressionto theNODES_EXCLUDEenvironment variable. - Restrict public webhook workflows that accept archive file uploads to authenticated endpoints only.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de 2.24.0, la operación Decompress del nodo Compression expandía archivos controlados por el atacante en la memoria sin aplicar límites en el tamaño de la salida descomprimida. Un atacante no autenticado podría enviar un pequeño archivo comprimido a un flujo de trabajo de webhook público usando este nodo, causando que el proceso de n8n terminara debido al agotamiento de la memoria y interrumpiendo todos los flujos de trabajo en la misma instancia. Esta vulnerabilidad está corregida en 2.24.0.
References
| https://github.com/n8n-io/n8n/security/advisories/GHSA-jqpw-qww5-cj4c | mitigation, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-54314 | advisory | |
| https://github.com/n8n-io/n8n | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54314 changed 2026-06-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jqpw-qww5-cj4c changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2026-54314 changed 2026-10-26 | Public domain |