Skip to content
OpenAdvisories
High · 7.5 CVE-2026-4926 EUVD-2026-16324GHSA-j3q9-mxjg-w52f

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

Published Mar 26, 2026 · Updated Sep 17, 2026 · Assigned by openjs

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

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

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
npm path-to-regexp >= 8.0.0, < 8.4.0 8.4.0 GHSA-j3q9-mxjg-w52f

Advisories 4

References