CVE-2026-45707: N8n Workflow Connection Index Shiftcve-2026-45707-n8n-workflow-connection-index-shift
Filtering out all empty arrays from workflow connections incorrectly shifts subsequent connection indices. In multi-output nodes, this corrupts the mapping between array indices and output ports, potentially bypassing logical conditions or redirecting data. To maintain index stability, only strip trailing empty arrays (e.g., using a while loop with .pop()).