{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-4923","id":"CVE-2026-4923","title":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards","description":"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\nWo","descriptionLong":"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.","published":"2026-03-26T19:02:00.729Z","updated":"2026-10-28T02:31:07.027438479Z","reserved":"2026-03-26T18:05:44.717Z","status":"Analyzed","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"openjs"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"openjs"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["path-to-regexp"],"affectedProducts":[{"vendor":"path-to-regexp","product":"path-to-regexp","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"8.0.0","lessThan":"8.4.0"},{"versionType":"semver","status":"unaffected","version":"8.4.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[">=8.0.0 <8.4.0"],"fixed":["8.4.0"],"advisory":"GHSA-27v5-c462-wpq7"}],"cwes":["CWE-1333"],"aliases":["GHSA-27v5-c462-wpq7"],"references":[{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4923.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4923","tags":["advisory"]},{"url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-27v5-c462-wpq7","tags":["web"]},{"url":"https://github.com/pillarjs/path-to-regexp","tags":["package"]},{"url":"https://makenowjust-labs.github.io/recheck/playground","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00367,"epssPercentile":0.31211,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-4923","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4923","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-4923","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-27v5-c462-wpq7","ok":true,"note":"GHSA-27v5-c462-wpq7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4923","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}