CVE-2026-54314
JSON

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 packageVersionsReported by
n8n-io n8n< 2.24.0CVE List
n8n (npm)before 2.24.0GitHub Advisory Database
n8n n8nbefore 2.24.0NVD

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-409

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.compression to the NODES_EXCLUDE environment 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

Sources

SourceRecordLicence
CVE ListCVE-2026-54314 changed 2026-06-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-jqpw-qww5-cj4c changed 2026-07-20CC-BY-4.0
NVDCVE-2026-54314 changed 2026-10-26Public domain