Vulnerability
CVE-2026-4926
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.
53 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-22ph-mrcm-cvhc
- CGA-2384-qh3w-fw39
- CGA-288c-gw2j-vjpw
- CGA-32xp-fcf2-3xpx
- CGA-33fm-hrc6-8mgv
- CGA-3fhp-j8h6-gmp3
- CGA-4pw3-9gj3-4m5g
- CGA-4q33-693v-wwvc
- CGA-53c5-2jf2-cwq4
- CGA-55wx-m4rc-2m7p
- CGA-6cx9-6r2h-v894
- CGA-6vhp-34c2-c2x3
- CGA-89h6-r439-9f7h
- CGA-8fvp-759v-r6pw
- CGA-8phf-qqc3-wgpv
- CGA-8rjc-fhqx-c69v
- CGA-8wg9-cx9r-3hmj
- CGA-9wpv-f7c3-xp3m
- CGA-c889-wfxg-959p
- CGA-c9pr-c5g9-727v
- CGA-f9pr-q292-j9xm
- CGA-fh48-fpx6-2crg
- CGA-frf3-gpv2-58xc
- CGA-g39r-xc2v-7jgx
- CGA-g3mr-crjw-2gp2
- CGA-gfgv-hph5-pv23
- CGA-h2h5-3cgg-cc39
- CGA-h65p-h46v-ww99
- CGA-h8hg-4963-7m8c
- CGA-hm39-mvv8-47fp
- CGA-jm97-8557-w268
- CGA-jmqc-28r2-cmfx
- CGA-m3v5-qm75-cq8w
- CGA-m5qc-8rv5-fw2c
- CGA-pjxp-4jfr-m447
- CGA-pvw5-p8gh-jcqj
- CGA-q4rx-5cch-8r9h
- CGA-qv56-m543-3h2q
- CGA-rf63-f5gr-27rc
- CGA-rv9m-rp6x-3fqq
- CGA-v389-6w23-mh36
- CGA-vjv5-v6vw-mq95
- CGA-vm45-5gcp-9f4w
- CGA-wffh-xg2p-r4pm
- CGA-x3h7-pxqj-45v6
- CGA-xr3r-63mp-vhqf
- CGA-xww8-mr75-fxwc
-
DEBIAN-CVE-2026-4926
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…
-
GHSA-j3q9-mxjg-w52f
path-to-regexp vulnerable to Denial of Service via sequential optional groups
-
RHSA-2026:24761
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2026:24762
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHVEX-CVE-2026-4926
path-to-regexp: path-to-regexp: Denial of Service via crafted regular expressions
-
UBUNTU-CVE-2026-4926
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…
References
- https://cna.openjsf.org/security-advisories.html
- https://access.redhat.com/errata/RHSA-2026:10153
- https://access.redhat.com/errata/RHSA-2026:10172
- https://access.redhat.com/errata/RHSA-2026:10175
- https://access.redhat.com/errata/RHSA-2026:13545
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:17789
- https://access.redhat.com/errata/RHSA-2026:19409
- https://access.redhat.com/errata/RHSA-2026:19410
- https://access.redhat.com/errata/RHSA-2026:24761
- https://access.redhat.com/errata/RHSA-2026:24762
- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/errata/RHSA-2026:36651
- https://access.redhat.com/errata/RHSA-2026:40118
- https://access.redhat.com/errata/RHSA-2026:40945
- https://access.redhat.com/errata/RHSA-2026:50300
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:9385
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2026-4926
- https://bugzilla.redhat.com/show_bug.cgi?id=2451867
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4926.json