n8n 2.27.2 - Compression Node Fix Prevents Over-Extraction, Improves Robustness
Release 2.27.2 fixes the Compression node to decompress only explicit archive members, preventing improper extraction of non-archive inputs. The change reduces risk of data corruption, unexpected resource use, and potential security exposure in automation workflows.
n8n 2.27.2 contains a focused correction to the Compression node so it only decompresses explicit archive members. Previously, the node could attempt to treat non-archive inputs or container metadata as extractable members, potentially leading to unexpected behavior, partial data extraction, or increased CPU and I/O consumption.
This is material for production automations that ingest mixed payload types or rely on user-supplied files. Unexpected decompression can lead to corrupted outputs, timeouts, and downstream application errors - and in the worst case it can expand attacker-supplied archives in unintended ways. Fixing the node reduces the attack surface and improves predictability for workflows that process archives at scale.
Practical steps for engineering leaders: deploy the patch to staging and run workloads that include the Compression node across representative archive types (zip, tar, gzip). Add assertions in tests to verify that only intended archive members are extracted and that non-archive inputs are handled gracefully. Review logging and error handling so that malformed inputs don't silently fail or consume resources.
Longer-term, consider building hardened input-validation controls into your automation layer: validate content types and sizes before handing payloads to decompression nodes, and enforce quotas or sandboxing for resource-heavy node operations. These practices complement vendor patches and materially reduce operational risk.
Original Source
n8n (GitHub)
