{"id":"GHSA-jqpw-qww5-cj4c","revision":"5f3895d83ad64932b51ac6dc4b4023cf","records":[{"revision":"5f3895d83ad64932b51ac6dc4b4023cf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-jqpw-qww5-cj4c","aliases":["CVE-2026-54314"],"title":"n8n: Denial of Service via ZIP decompression in webhook workflow","description":"## Impact\nThe 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. \n\n## Patches\nThe 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`).\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Disable the Compression node by adding `n8n-nodes-base.compression` to the `NODES_EXCLUDE` environment variable.\n- Restrict public webhook workflows that accept archive file uploads to authenticated endpoints only.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","state":0,"publishedAt":"2026-06-16T23:01:51+00:00","modifiedAt":"2026-07-20T13:45:32.1862048+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.24.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-jqpw-qww5-cj4c","https://nvd.nist.gov/vuln/detail/CVE-2026-54314","https://github.com/n8n-io/n8n"],"sourceUrl":"https://github.com/advisories/GHSA-jqpw-qww5-cj4c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jqpw-qww5-cj4c","identifiers":["GHSA-jqpw-qww5-cj4c","CVE-2026-54314"]},"retained":false,"historicalAffected":[]}],"coverage":[]}