Vulnerability

CVE-2026-4926

highCVSS 3.1 7.5Published 26 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Pillarjs path-to-regexp

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning