GHSA-j3q9-mxjg-w52f

ghsaUSosv

path-to-regexp vulnerable to Denial of Service via sequential optional groups

view advisory published 2026-03-27Licence: CC-BY-4.0

### 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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-4926US——
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 exponent…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan