7.5highHigh

CVE-2026-4926

Pillarjs Path-To-Regexp

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.

What the metrics mean

  • It is reachable over a network, without needing local access.
  • For an attacker who can reach it, no special conditions are needed to exploit it.
  • To exploit it, no account is needed.
  • Beyond that, no action by a user is required.

Scoring

CVSS
7.5 (v3.1)
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb

Dates

Published
2026-03-26
Last modified
2026-08-25
Sources
NVD

Affected products

  • Pillarjs Path-To-Regexp8.0.0 - 8.4.0

As listed in the NVD configuration data. Not a statement about your estate.

References