CVE-2026-4926 Affecting node-path-to-regexp package, versions <8.4.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.82% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEPATHTOREGEXP-15805549
  • published29 Mar 2026
  • disclosed26 Mar 2026

Introduced: 26 Mar 2026

CVE-2026-4926  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-path-to-regexp to version 8.4.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-path-to-regexp package and not the node-path-to-regexp package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

Impact:

A bad regular expression is generated any time you have multiple sequential optional groups (curly brace syntax), such as {a}{b}{c}:z. The generated regex grows exponentially with the number of groups, causing denial of service.

Patches:

Fixed in version 8.4.0.

Workarounds:

Limit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns.

CVSS Base Scores

version 3.1