Inefficient regular expression complexity in n8n - CVE-2026-118646
Published: October 14, 2026 / Updated: November 2, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to excessive regular expression backtracking in the Read/Write Files from Disk node when evaluating file selector glob patterns on the main event loop without a time limit. A remote user can submit a selector containing many wildcards to cause a denial of service.
Exploitation requires permission to create and run workflows. The UI, API, webhooks and health checks stop responding until the process is restarted.