Skip to content
OpenAdvisories

Description

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.

Affected products

VendorProductAffectedFixed
pillarjs path-to-regexp < 0.1.10, >= 0.2.0, < 8.0.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 6.3.0-1 —
Debian 13 node-path-to-regexp 6.3.0-1 —
Debian 12 node-path-to-regexp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-express No fix yet —
Ubuntu 26.04 LTS node-express No fix yet —
Ubuntu 25.10 node-express No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS node-path-to-regexp 6.2.1-1ubuntu0.1~esm1 USN-8290-1
Ubuntu Pro 22.04 LTS node-path-to-regexp 6.2.0-2ubuntu0.1~esm1 USN-8290-1
Ubuntu Pro 20.04 LTS node-path-to-regexp 6.1.0-2ubuntu0.1~esm1 USN-8290-1
Ubuntu Pro 18.04 LTS node-path-to-regexp 1.0.1-1ubuntu0.18.04.1~esm1 USN-8290-1
Ubuntu Pro 16.04 LTS node-path-to-regexp 1.0.1-1ubuntu0.16.04.1~esm1 USN-8290-1
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 ansible-core 1:2.15.13-1.el8ap RHSA-2024:10762
Red Hat Ansible Automation Platform Developer 2 ansible-core 1:2.15.13-1.el8ap RHSA-2024:10762
Red Hat Ansible Automation Platform 2 ansible-core 1:2.15.13-1.el8ap RHSA-2024:10762
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.5.13-1.el8ap RHSA-2024:10762
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed argocd-cli 2.12.4-1.1 openSUSE-SU-2024:14374-1
openSUSE Tumbleweed velociraptor 0.7.0.4.git142.862ef23-1.1 openSUSE-SU-2025:14663-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery +1 No fix yet —
Azure Linux 2 (CBL-Mariner) js-jquery +1 No fix yet —
Azure Linux 2 (CBL-Mariner) reaper 3.1.1-13 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling argo-workflows 3.6.0-r1 —
Wolfi rolling kubeflow-centraldashboard 1.9.0-r3 —
Wolfi rolling kubeflow-pipelines +11 2.2.0-r12 —
Wolfi rolling sqlpad +1 7.5.0-r1 —
Wolfi rolling thingsboard +4 3.7-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm path-to-regexp < 0.1.13 0.1.13 GHSA-37ch-88jc-xwx2
npm path-to-regexp >= 0.2.0, < 1.9.0 1.9.0 GHSA-9wv6-86v2-598j
npm path-to-regexp < 0.1.10 0.1.10 GHSA-9wv6-86v2-598j
npm path-to-regexp >= 7.0.0, < 8.0.0 8.0.0 GHSA-9wv6-86v2-598j
npm path-to-regexp >= 2.0.0, < 3.3.0 3.3.0 GHSA-9wv6-86v2-598j
npm path-to-regexp >= 4.0.0, < 6.3.0 6.3.0 GHSA-9wv6-86v2-598j

Advisories 16

References