Inefficient regular expression complexity in path-to-regexp - CVE-2026-4923
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause denial of service in applications using path-to-regexp for path matching.
The vulnerability exists due to excessive regular expression backtracking in path-to-regexp when a configured path contains multiple wildcards and at least one parameter, with the second wildcard positioned before the end of the path. An unauthenticated remote attacker can submit a crafted path to trigger expensive matching and exhaust application processing resources.