CVE-2026-4867: pillarjs path-to-regexp ReDoS via multiple route parameters

CVE-2026-4867 · Severity: low · CVSS 3.1 · Published 2026-03-27

path-to-regexp is vulnerable to Regular Expression Denial of Service (ReDoS) when three or more parameters are used within a single URL segment.

Technologies: path-to-regexp (npm). Vendors: npm.

Quick answers

Is CVE-2026-4867 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-4867 being exploited in the wild.
How severe is CVE-2026-4867?
Low severity, with a CVSS score of 3.1, published 27 March 2026.
Which products and versions are affected?
path-to-regexp (npm) SEMVER:introduced=0,fixed=0.1.13.
Is there a fix for CVE-2026-4867?
Yes. path-to-regexp (npm): upgrade to 0.1.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-4867?
Check whether you run path-to-regexp (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • path-to-regexp (npm): upgrade to 0.1.13 or later
    npm install path-to-regexp@0.1.13

Affected products

  • path-to-regexp (npm) SEMVER:introduced=0,fixed=0.1.13

Identifiers

  • CVE-2026-4867
  • GHSA-37ch-88jc-xwx2

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.