CVEfocus › CVE database › CVE-2026-4923

CVE-2026-4923path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards

CVSS 5.9 MediumEPSS 0.4% (higher than 29% of CVEs)Published 2026-03-26Updated 2026-03-27Assigner: openjs

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.

CWE-1333

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Red Hat have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
26Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04node-path-to-regexpNot affected
vulnerable_code_not_present
Ubuntu 25.10node-path-to-regexpNot affected
vulnerable_code_not_present
Debian 14node-path-to-regexpFixed8.4.0-1DEBIAN-CVE-2026-4923
Debian 13node-path-to-regexpFix pendingDEBIAN-CVE-2026-4923
Debian 12node-path-to-regexpFix pendingDEBIAN-CVE-2026-4923
Red Hat Enterprise Linux 10linux-sgxFix pending
Fix deferred
Red Hat Enterprise Linux 10sgx-commonFix pending
Fix deferred
Red Hat Enterprise Linux 10sgx-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10sgx-mpaFix pending
Fix deferred
Red Hat Enterprise Linux 10sgx-pccsFix pending
Fix deferred
Red Hat Enterprise Linux 10sgx-pccs-adminFix pending
Fix deferred
Red Hat Enterprise Linux 10sgx-pckid-toolFix pending
Fix deferred
Red Hat Enterprise Linux 10tdx-qgsFix pending
Fix deferred
Red Hat Enterprise Linux 9gjsFix pending
Fix deferred
Red Hat Enterprise Linux 9gjs-develFix pending
Fix deferred
Red Hat Enterprise Linux 9linux-sgxFix pending
Fix deferred
Red Hat Enterprise Linux 9pcsFix pending
Fix deferred
Red Hat Enterprise Linux 9pcs-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 9sgx-commonFix pending
Fix deferred
Red Hat Enterprise Linux 9sgx-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9sgx-mpaFix pending
Fix deferred
Red Hat Enterprise Linux 9sgx-pccsFix pending
Fix deferred
Red Hat Enterprise Linux 9sgx-pccs-adminFix pending
Fix deferred
Red Hat Enterprise Linux 9sgx-pckid-toolFix pending
Fix deferred
Red Hat Enterprise Linux 9tdx-qgsFix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60Fix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60-develFix pending
Fix deferred
Red Hat Enterprise Linux 8pcsFix pending
Fix deferred
Red Hat Enterprise Linux 8pcs-snmpFix pending
Fix deferred
npm librarypath-to-regexpFixed8.4.0GHSA-27v5-c462-wpq7

What the vendor says

As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.