Description
The regular expression that is vulnerable to backtracking can be generated in versions before 0.1.12 of path-to-regexp, originally reported in CVE-2024-45296
Recommendation
Update the path-to-regexp package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.1.12
- Patched version(s): 0.1.12
References
Related Issues
- path-to-regexp outputs backtracking regular expressions - CVE-2024-45296
- path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards - CVE-2026-4923
- path-to-regexp vulnerable to Denial of Service via sequential optional groups - CVE-2026-4926
- path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters - CVE-2026-4867
You might also like:
- Tags:
- npm
- path-to-regexp
Anything's wrong? Let us know Last updated on June 03, 2025


