
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-4923 is a Regular Expression Denial of Service (ReDoS) vulnerability in the path-to-regexp npm package, affecting versions 8.0.0 through 8.3.x (prior to 8.4.0). When route paths use multiple wildcards combined with at least one named parameter — where the second wildcard is not at the end of the path — the library generates a regular expression susceptible to catastrophic backtracking. The vulnerability was published on March 26, 2026, with a patch released the same day. It carries a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory).
The root cause is classified as CWE-1333 (Inefficient Regular Expression Complexity), corresponding to CAPEC-492 (Regular Expression Exponential Blowup). When path-to-regexp compiles route patterns containing multiple wildcard segments (e.g., /*foo-*bar-:baz, /*a-:b-*c-:d, or /x/*a-:b/*c/y) with at least one named parameter, the resulting regex exhibits polynomial or exponential worst-case matching time due to backtracking. The vulnerability is network-exploitable with no authentication required, but requires high attack complexity — specifically, the attacker must be able to influence the path string matched against a vulnerable route pattern. Safe patterns include those where the second wildcard appears at the end of the path (e.g., /*foo-:bar-*baz) (GitHub Advisory).
Successful exploitation causes excessive CPU consumption on the affected server, leading to denial of service conditions — application unavailability or severe performance degradation. There is no confidentiality or integrity impact; the vulnerability is limited to availability. Downstream IBM products incorporating path-to-regexp are also affected, including IBM API Connect, IBM QRadar Suite, IBM App Connect Enterprise, IBM watsonx Orchestrate, IBM Cloud Pak for Integration, and others, broadening the potential impact surface (GitHub Advisory, IBM Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of reporting (GitHub Advisory). The EPSS score is approximately 0.018–0.04%, indicating a very low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified. Detection plugins are available via Nessus (plugin 303924) and Qualys (IDs 6635912, 6635749) (Feedly).
path-to-regexp versions 8.0.0–8.3.x for route matching (e.g., Express.js-based services)./*foo-*bar-:baz or /x/*a-:b/*c/y./*x-*y-:z; elevated response times or timeouts on specific route handlers.The primary remediation is to upgrade path-to-regexp to version 8.4.0 or later, which resolves the backtracking issue (GitHub Advisory). As a temporary workaround, developers using multiple wildcard parameters should validate their generated regular expressions using the recheck playground to identify vulnerable patterns before deploying. Avoid route patterns where a second wildcard appears in a non-terminal position combined with named parameters. IBM has issued product-specific advisories and patches for affected products including API Connect, QRadar Suite, App Connect Enterprise, and others (IBM Advisory, IBM Advisory).
The vulnerability was published by the OpenJS Foundation CNA and credited to blakeembrey (discovery) and UlisesGascon (remediation review) (GitHub Advisory). IBM issued more than a dozen product-specific security bulletins acknowledging the dependency on the vulnerable library across its enterprise portfolio. Community reaction has been relatively muted given the medium severity rating, absence of a public PoC, and the straightforward upgrade path.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."