Inefficient regular expression complexity in find-my-way - #VU166242
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by blocking the Node.js event loop.
The vulnerability exists due to inefficient regular expression evaluation before maxParamLength validation in find-my-way's interpreter and compiled matcher when processing regex parametric routes. A remote attacker can send long, nonmatching path segments to routes with poorly backtracking patterns such as ^(a|aa)+$ to trigger excessive processing and make the service unavailable.