{"id":"CVE-2026-4923","summary":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards","details":"Impact:\n\nWhen 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.\n\nUnsafe examples:\n\n/*foo-*bar-:baz\n/*a-:b-*c-:d\n/x/*a-:b/*c/y\n\nSafe examples:\n\n/*foo-:bar\n/*foo-:bar-*baz\n\nPatches:\n\nUpgrade to version 8.4.0.\n\nWorkarounds:\n\nIf 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.","aliases":["GHSA-27v5-c462-wpq7"],"modified":"2026-07-11T03:55:42.940052438Z","published":"2026-03-26T19:02:00.729Z","related":["CGA-vhgq-r233-pw87"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"8.0.0"},{"fixed":"8.4.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"openjs","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4923.json"},"references":[{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4923.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4923"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pillarjs/path-to-regexp","events":[{"introduced":"ed1095e0fa78a692e7f3d489e383e7bb1f9d2cc4"},{"fixed":"34cb451ddaeea4783a2fe60579ffb3e4ccfc73a7"}],"database_specific":{"cpe":"cpe:2.3:a:pillarjs:path-to-regexp:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"8.0.0"},{"fixed":"8.4.0"}],"source":"CPE_RANGE"}}],"versions":["v8.3.0","v8.2.0","v8.1.0","v8.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-4923.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}