# path-to-regexp (npm)

Express style path to RegExp utility

- Latest: 9.0.0 (2026-10-22)
- Licence: MIT
- Downloads: 1411013318 last month
- Advisories on the latest version: 0

- CVE-2026-4923 MODERATE: path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards Fixed in 8.4.0.
- CVE-2024-45296 HIGH: path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters Fixed in 0.1.13.
- CVE-2026-4926 HIGH: path-to-regexp vulnerable to Denial of Service via sequential optional groups Fixed in 8.4.0.
- CVE-2024-52798 HIGH: path-to-regexp contains a ReDoS Fixed in 0.1.12.
- CVE-2024-45296 HIGH: path-to-regexp outputs backtracking regular expressions Fixed in 8.0.0, 3.3.0, 6.3.0.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
