Impact:
When using multiple wildcards, combined with at least one parameter, a regular expression can be generated that is vulnerable to ReDoS. This backtracking vulnerability requires the second wildcard to be somewhere other than the end of the path.
Unsafe examples:
/*foo-*bar-:baz
/*a-:b-*c-:d
/x/*a-:b/*c/y
Safe examples:
/*foo-:bar
/*foo-:bar-*baz
Patches:
Upgrade to version 8.4.0.
Workarounds:
If you are using multiple wildcard parameters, you can check the regex output with a tool such as https://makenowjust-labs.github.io/recheck/playground/ to confirm whether a path is vulnerable.
References
| Link | Resource |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Third Party Advisory |
Configurations
History
16 Apr 2026, 18:03
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:pillarjs:path-to-regexp:*:*:*:*:*:node.js:*:* | |
| References | () https://cna.openjsf.org/security-advisories.html - Third Party Advisory | |
| First Time |
Pillarjs
Pillarjs path-to-regexp |
30 Mar 2026, 13:26
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
26 Mar 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-26 19:17
Updated : 2026-04-16 18:03
NVD link : CVE-2026-4923
Mitre link : CVE-2026-4923
CVE.ORG link : CVE-2026-4923
JSON object : View
Products Affected
pillarjs
- path-to-regexp
CWE
CWE-1333
Inefficient Regular Expression Complexity
