# path-to-regexp (npm) vulnerabilities

5 known vulnerabilities (4 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Weekly downloads: 314.1M
- Dependents: 139
- Registry: https://www.npmjs.com/package/path-to-regexp

## Advisories (5)

### [CVE-2026-4923](https://cve.now/CVE-2026-4923): path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards

- Severity: Medium 5.9
- Published: Mar 26, 2026
- Affected: from 8.0.0, fixed in 8.4.0.

### [CVE-2026-4926](https://cve.now/CVE-2026-4926): path-to-regexp vulnerable to Denial of Service via sequential optional groups

- Severity: High 7.5
- Published: Mar 26, 2026
- Affected: from 8.0.0, fixed in 8.4.0.

### [CVE-2026-4867](https://cve.now/CVE-2026-4867): path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters

- Severity: High 7.5
- Published: Mar 26, 2026
- Affected: fixed in 0.1.13; from 0.2.0, fixed in 1.9.0; fixed in 0.1.10; from 7.0.0, fixed in 8.0.0; from 2.0.0, fixed in 3.3.0; from 4.0.0, fixed in 6.3.0.

### [CVE-2024-52798](https://cve.now/CVE-2024-52798): path-to-regexp Unpatched \`path-to-regexp\` ReDoS in 0.1.x

- Severity: High 7.7
- Published: Dec 5, 2024
- Affected: fixed in 0.1.12.

### [CVE-2024-45296](https://cve.now/CVE-2024-45296): path-to-regexp outputs backtracking regular expressions

- Severity: High 7.5
- Published: Sep 9, 2024
- Affected: fixed in 0.1.13; from 0.2.0, fixed in 1.9.0; fixed in 0.1.10; from 7.0.0, fixed in 8.0.0; from 2.0.0, fixed in 3.3.0; from 4.0.0, fixed in 6.3.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/path-to-regexp
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
