Live threats

All CVEs / Pillarjs

CVE-2026-4926Pillarjs Path-to-regexp

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 26, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Path-to-regexp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm path-to-regexp ≥ 8.0.0 < 8.4.0 8.4.0 npm install path-to-regexp@8.4.0

Per OSV / GitHub Advisories (GHSA-j3q9-mxjg-w52f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pillarjspath-to-regexp≥ 8.0.0 < 8.4.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.