Medium · published August 20, 2026
n8n before 1.123.69, 2.x before 2.33.4, and 2.34.x before 2.34.1 contains a regular expression denial of service (ReDoS) vulnerability in the Filter and Switch nodes, which compile user-supplied regex patterns with new RegExp() and execute them synchronously on the worker thread without complexity validation or execution timeout. A crafted regex pattern can block the worker for an extended period per data item processed, delaying other workflow executions on the same worker.
| Product | Versions | Fixed in |
|---|---|---|
| n8n/n8n | < 1.123.69 | 1.123.69 |
| n8n/n8n | ≥ 2.0.0, < 2.33.4 | 2.33.4 |
| n8n/n8n | all versions | — |