Skip to main content
VulnerabilityPublished Updated

CVE-2024-45296: Node path to regexp · path-to-regexp turns path strings into a regular expressions

Affects node-path-to-regexpSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 1.0.1-1ubuntu0.16.04.1~esm1 : patch node-path-to-regexp soon.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.1-1ubuntu0.16.04.1~esm1, 1.0.1-1ubuntu0.18.04.1~esm1, 6.1.0-2ubuntu0.1~esm1 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-expresspkg:deb/ubuntu/node-express?arch=source&distro=stonkingOther threatsAffected
  • =5.1.0+~cs12.3.3-1build1
  • =5.2.1+~cs12.3.9-1
Fixed in–
Ubuntu 26.04 LTSnode-expresspkg:deb/ubuntu/node-express?arch=source&distro=resoluteOther threatsAffected
  • =4.21.2+~cs8.36.27-2
  • =4.21.2+~cs8.36.27-3
  • =5.1.0+~cs12.3.3-1build1
Fixed in–
Ubuntu 25.10node-expresspkg:deb/ubuntu/node-express?arch=source&distro=questingOther threatsAffected
  • =4.21.0+~cs8.36.26-2
  • =4.21.2+~cs8.36.27-1
  • =4.21.2+~cs8.36.27-2
Fixed in–
Ubuntu Pro 24.04 LTSnode-path-to-regexppkg:deb/ubuntu/node-path-to-regexp?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <6.2.1-1ubuntu0.1~esm1
Fixed in
  • 6.2.1-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSnode-path-to-regexppkg:deb/ubuntu/node-path-to-regexp?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <6.2.0-2ubuntu0.1~esm1
Fixed in
  • 6.2.0-2ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSnode-path-to-regexppkg:deb/ubuntu/node-path-to-regexp?arch=source&distro=esm-apps/focalOther threatsAffected
  • <6.1.0-2ubuntu0.1~esm1
Fixed in
  • 6.1.0-2ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.

References

Community reviews

Loading reviews…