-
Notifications
You must be signed in to change notification settings - Fork 74
CVE-2026-4923 (Medium) detected in path-to-regexp-8.3.0.tgz - autoclosed #322
Description
CVE-2026-4923 - Medium Severity Vulnerability
Vulnerable Library - path-to-regexp-8.3.0.tgz
Express style path to RegExp utility
Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz
Path to dependency file: /ui/package.json
Path to vulnerable library: /ui/node_modules/.pnpm/path-to-regexp@8.3.0/node_modules/path-to-regexp/package.json
Dependency Hierarchy:
- @postgres.ai/ce-4.0.3.tgz (Root Library)
- react-scripts-5.0.1.tgz
- webpack-dev-server-4.15.2.tgz
- express-5.2.1.tgz
- router-2.2.0.tgz
- ❌ path-to-regexp-8.3.0.tgz (Vulnerable Library)
- router-2.2.0.tgz
- express-5.2.1.tgz
- webpack-dev-server-4.15.2.tgz
- react-scripts-5.0.1.tgz
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2026-03-26
URL: CVE-2026-4923
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-27v5-c462-wpq7
Release Date: 2026-03-26
Fix Resolution: path-to-regexp - 8.4.0
Step up your Open Source Security Game with Mend here