patchminder
No public exploit found CVE-2026-4867

Denial of servicein path-to-regexp.

Published 26 Mar 2026 · Updated 26 Mar 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.1.13 or later
In plain words

Impact: A bad regular expression is generated any time you have three or more parameters within a single segment, separated by something that is not a period (.). For example, /:a-:b-:c or /:a-:b-:c-:d. The backtrack protection added in path-to-regexp@0.1.12 only prevents ambiguity for two parameters. With three or more, the generated lookahead does not block single separator characters, so capture groups overlap and cause catastrophic backtracking. Patches: Upgrade to path-to-regexp@0.1.13 Custom regex patterns in route definitions (e.g., /:a-:b([^-/]+)-:c([^-/]+)) are not affected because they override the default capture group. Workarounds: All versions can be patched by providing a custom regular expression for parameters after the first in a single segment.

What to do now
  • Upgrade path-to-regexp to 0.1.13 or later.
  • Upgrade path-to-regexp (npm) to 0.1.13 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
path-to-regexp
before 0.1.13
0.1.13
CVE record
path-to-regexp (npm)
before 0.1.13
0.1.13
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 25 Mar 2026
    CVE ID reserved by openjs.
  2. 26 Mar 2026
    Published in the CVE List.
  3. 26 Mar 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other path-to-regexp vulnerabilities

Same weakness: Regular expression denial of service

All CWE-1333 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-4867: Denial of service in path-to-regexp. https://patchminder.com/cve/cve-2026-4867/ (accessed 5 December 2026).