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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| path-to-regexp | path-to-regexp | 8.0.0 – < 8.4.0 | 8.4.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-path-to-regexp | 8.4.0-1 | — |
| Debian 13 | node-path-to-regexp | No fix yet | — |
| Debian 12 | node-path-to-regexp | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform Inside 2 | python3.12-click | 8.3.3-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform Inside 2 | python3.12-cryptography | 46.0.7-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform Inside 2 | receptor | 1.6.5-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform Inside 2 | receptorctl | 1.6.5-1.el9ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform Developer 2 | automation-controller +1 | 4.7.12-1.el9ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform Developer 2 | python3-click | 8.3.3-1.el10ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform Developer 2 | python3.12-click | 8.3.3-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform Developer 2 | python3.12-cryptography | 46.0.7-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform Developer 2 | receptor | 1.6.5-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform Developer 2 | receptorctl | 1.6.5-1.el9ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2 | automation-controller +3 | 4.7.12-1.el9ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.6.29-2.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | automation-gateway-proxy | 2.6.14-3.el9ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2 | automation-gateway-proxy-server | 2.5.10-6.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | automation-gateway-server | 2.5.20260422-3.el8ap | RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | 2.6.9-1.el9ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2 | python3-click | 8.3.3-1.el10ap | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2 | python3.12-click | 8.3.3-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | python3.12-cryptography | 46.0.7-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | python3.12-pillow | 12.2.0-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | receptor | 1.6.5-1.el8ap | RHSA-2026:24762, RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2 | receptorctl | 1.6.5-1.el9ap | RHSA-2026:24762 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server | 4.112.0-r2 | — |
| Wolfi rolling | langfuse-3-compat | 3.225.7-r6 | — |
| Wolfi rolling | langfuse-3-worker | 3.179.1-r3 | — |
| Wolfi rolling | saf | 1.6.0-r0 | — |
| Wolfi rolling | thingsboard-tb-web-ui +1 | 4.3.1.1-r0 | — |
| Wolfi rolling | tileserver-gl | 5.5.0-r12 | — |
| Wolfi rolling | vitess-23 | 23.0.3-r12 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | path-to-regexp | >= 8.0.0, < 8.4.0 | 8.4.0 | GHSA-j3q9-mxjg-w52f |
Advisories 4
- WID-SEC-2026-3046 IBM Concert: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- RHSA-2026:24761 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:24762 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- WID-SEC-2026-1407 IBM App Connect Enterprise Certified Container: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 3, 2026