CVE-2026-4926: high-severity vulnerability in path-to-regexp
path-to-regexp vulnerable to Denial of Service via sequential optional groups
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 0.8%
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
path-to-regexp · path-to-regexpRelated CVEs — path-to-regexp
In the same product, most dangerous first.
References
https://access.redhat.com/errata/RHSA-2026:10153https://access.redhat.com/errata/RHSA-2026:10172https://access.redhat.com/errata/RHSA-2026:10175https://access.redhat.com/errata/RHSA-2026:13545https://access.redhat.com/errata/RHSA-2026:13826https://access.redhat.com/errata/RHSA-2026:17789https://access.redhat.com/errata/RHSA-2026:19409https://access.redhat.com/errata/RHSA-2026:19410https://access.redhat.com/errata/RHSA-2026:24761https://access.redhat.com/errata/RHSA-2026:24762https://access.redhat.com/errata/RHSA-2026:24866https://access.redhat.com/errata/RHSA-2026:36651