n8n's Compression node decompressed attacker-controlled archives without enforcing memory or entry-count limits, allowing any unauthenticated adversary to crash an entire n8n instance—and every workflow running in it—by posting a tiny crafted zip bomb to a public webhook endpoint. The EPSS score sits at the 82nd percentile, indicating above-average real-world exploitation interest relative to the full CVE population; the trivial crafting effort and zero authentication requirement make opportunistic scanning realistic even without a CISA KEV listing. n8n is increasingly deployed as an AI agent orchestration layer connecting LLMs, APIs, and sensitive business data pipelines, so a successful DoS silences not just one workflow but the entire automation stack for all users of the instance. Upgrade to n8n 2.24.0 immediately and tune the new environment variables (N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES, N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES); if patching is delayed, exclude the node via NODES_EXCLUDE or restrict all public webhooks to authenticated endpoints.
What is the risk?
Medium severity (CVSS 5.9, AV:N/AC:H/PR:N/UI:N) with a purely availability impact. The AC:H rating reflects the prerequisite of a publicly exposed webhook using the Compression node—not a universal condition, but common in workflow automation deployments that process file uploads. No confidentiality or integrity exposure. The 82nd EPSS percentile combined with trivial exploit construction (zip bombs are script-kiddie territory) and zero required privileges elevates operational risk above what the CVSS score alone conveys. The 105 historical CVEs in this package signal a recurring pattern of security debt that warrants elevated scrutiny of any n8n deployment.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| n8n | npm | < 2.24.0 | 2.24.0 |
Do you use n8n? You're affected.
How severe is it?
What is the attack surface?
What should I do?
6 steps-
Upgrade to n8n 2.24.0 or later immediately—this is the only full remediation.
-
Post-upgrade, configure N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES (recommended: 50MB or less) and N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES to match your legitimate use cases.
-
If patching is delayed, add 'n8n-nodes-base.compression' to NODES_EXCLUDE to disable the node instance-wide.
-
Audit all workflows with public webhooks and enforce authentication on any that accept file uploads.
-
Apply container-level memory limits (e.g., Docker --memory) as defense-in-depth to bound OOM blast radius.
-
Monitor for anomalously large POST bodies or high-frequency webhook calls from single source IPs as an indicator of probing or active exploitation.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-54314?
n8n's Compression node decompressed attacker-controlled archives without enforcing memory or entry-count limits, allowing any unauthenticated adversary to crash an entire n8n instance—and every workflow running in it—by posting a tiny crafted zip bomb to a public webhook endpoint. The EPSS score sits at the 82nd percentile, indicating above-average real-world exploitation interest relative to the full CVE population; the trivial crafting effort and zero authentication requirement make opportunistic scanning realistic even without a CISA KEV listing. n8n is increasingly deployed as an AI agent orchestration layer connecting LLMs, APIs, and sensitive business data pipelines, so a successful DoS silences not just one workflow but the entire automation stack for all users of the instance. Upgrade to n8n 2.24.0 immediately and tune the new environment variables (N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES, N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES); if patching is delayed, exclude the node via NODES_EXCLUDE or restrict all public webhooks to authenticated endpoints.
Is CVE-2026-54314 actively exploited?
No confirmed active exploitation of CVE-2026-54314 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-54314?
1. Upgrade to n8n 2.24.0 or later immediately—this is the only full remediation. 2. Post-upgrade, configure N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES (recommended: 50MB or less) and N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES to match your legitimate use cases. 3. If patching is delayed, add 'n8n-nodes-base.compression' to NODES_EXCLUDE to disable the node instance-wide. 4. Audit all workflows with public webhooks and enforce authentication on any that accept file uploads. 5. Apply container-level memory limits (e.g., Docker --memory) as defense-in-depth to bound OOM blast radius. 6. Monitor for anomalously large POST bodies or high-frequency webhook calls from single source IPs as an indicator of probing or active exploitation.
What systems are affected by CVE-2026-54314?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, AI workflow orchestration, LLM pipeline automation.
What is the CVSS score for CVE-2026-54314?
CVE-2026-54314 has a CVSS v3.1 base score of 5.9 (MEDIUM). The EPSS exploitation probability is 0.06%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0006 Active Scanning AML.T0029 Denial of AI Service AML.T0034.001 Resource-Intensive Queries AML.T0049 Exploit Public-Facing Application Compliance Controls Affected
What are the technical details?
Original Advisory
## 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.
Exploitation Scenario
An attacker scans Shodan or Censys for exposed n8n instances, identifying hosts responding on common n8n ports with /webhook/* URL patterns. They send test payloads to discover endpoints that accept compressed file input and return 200 responses, confirming the Compression node is active in the workflow. Using a standard zip bomb generator—a few lines of Python or a prebuilt tool—they craft a ~1KB archive that decompresses to several gigabytes. A single unauthenticated HTTP POST to the webhook URL triggers unbounded decompression inside the n8n process; the OS OOM killer terminates the process, halting all AI agent workflows, LLM integrations, and business automations running on that instance until an operator manually restarts the service.
Weaknesses (CWE)
CWE-409 — Improper Handling of Highly Compressed Data (Data Amplification): The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H References
Timeline
Related Vulnerabilities
CVE-2026-33663 10.0 n8n: member role steals plaintext HTTP credentials
Same package: n8n CVE-2026-54309 10.0 n8n: MCP browser auth bypass allows full browser takeover
Same package: n8n CVE-2026-21858 10.0 n8n: Input Validation flaw enables exploitation
Same package: n8n CVE-2026-33660 10.0 TensorFlow: type confusion NPD in tensor conversion
Same package: n8n CVE-2026-27495 9.9 n8n: Code Injection enables RCE
Same package: n8n