CVE-2026-4923 in Pillarjs Path-To-Regexp
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Pillarjs | Path-To-Regexp | ≥ 8.0.0, < 8.4.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-4923 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-273463-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-03-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-492 Regular Expression Exponential Blowup via CWE-1333
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A regular expression vulnerability in the software allows for ReDoS (Regular Expression Denial of Service) attacks when using multiple wildcards combined with at least one parameter, unless the second wildcard is at the end of the path.
The vulnerability arises from the improper handling of regular expressions with multiple wildcards and parameters, leading to excessive backtracking that can cause a denial of service.
Questions
What is CVE-2026-4923?
A regular expression vulnerability in the software allows for ReDoS (Regular Expression Denial of Service) attacks when using multiple wildcards combined with at least one parameter, unless the second wildcard is at the end of the path.
What is the CVSS score for CVE-2026-4923?
CVE-2026-4923 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.4%.
Is CVE-2026-4923 actively exploited?
No confirmed active exploitation of CVE-2026-4923 as of 2026-09-25.
How do I remediate CVE-2026-4923?
Priority: HIGH.
What systems are affected by CVE-2026-4923?
CVE-2026-4923 affects Pillarjs Path-To-Regexp.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Pillarjs","product":"Path-To-Regexp","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.