{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/24301?format=json","vulnerability_id":"VCID-vzcu-mpsr-qbgm","summary":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters\n### Impact\n\nA bad regular expression is generated any time you have three or more parameters within a single segment, separated by something that is not a period (`.`). For example, `/:a-:b-:c` or `/:a-:b-:c-:d`. The backtrack protection added in `path-to-regexp@0.1.12` only prevents ambiguity for two parameters. With three or more, the generated lookahead does not block single separator characters, so capture groups overlap and cause catastrophic backtracking.\n\n### Patches\n\nUpgrade to [path-to-regexp@0.1.13](https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13)\n\nCustom regex patterns in route definitions (e.g., `/:a-:b([^-/]+)-:c([^-/]+)`) are not affected because they override the default capture group.\n\n### Workarounds\n\nAll versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change `/:a-:b-:c` to `/:a-:b([^-/]+)-:c([^-/]+)`.\n\nIf paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length.\n\n### References\n\n- [GHSA-9wv6-86v2-598j](https://github.com/advisories/GHSA-9wv6-86v2-598j)\n- [Detailed blog post: ReDoS the web](https://blakeembrey.com/posts/2024-09-web-redos/)","aliases":[{"alias":"CVE-2026-4867"},{"alias":"GHSA-37ch-88jc-xwx2"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/932508?format=json","purl":"pkg:deb/debian/node-path-to-regexp@1.0.1-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@1.0.1-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/932503?format=json","purl":"pkg:deb/debian/node-path-to-regexp@6.2.0-1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"},{"vulnerability":"VCID-r95c-k4nq-jbd1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.2.0-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/932504?format=json","purl":"pkg:deb/debian/node-path-to-regexp@6.2.1-1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"},{"vulnerability":"VCID-r95c-k4nq-jbd1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.2.1-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/932506?format=json","purl":"pkg:deb/debian/node-path-to-regexp@6.3.0-1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.3.0-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/932505?format=json","purl":"pkg:deb/debian/node-path-to-regexp@8.4.1-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@8.4.1-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/67472?format=json","purl":"pkg:npm/path-to-regexp@0.1.13","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.13"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/577062?format=json","purl":"pkg:npm/path-to-regexp@0.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/577063?format=json","purl":"pkg:npm/path-to-regexp@0.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/577064?format=json","purl":"pkg:npm/path-to-regexp@0.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/577065?format=json","purl":"pkg:npm/path-to-regexp@0.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/577066?format=json","purl":"pkg:npm/path-to-regexp@0.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.2"},{"url":"http://public2.vulnerablecode.io/api/packages/577067?format=json","purl":"pkg:npm/path-to-regexp@0.1.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.3"},{"url":"http://public2.vulnerablecode.io/api/packages/577068?format=json","purl":"pkg:npm/path-to-regexp@0.1.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.4"},{"url":"http://public2.vulnerablecode.io/api/packages/577069?format=json","purl":"pkg:npm/path-to-regexp@0.1.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.5"},{"url":"http://public2.vulnerablecode.io/api/packages/577070?format=json","purl":"pkg:npm/path-to-regexp@0.1.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.6"},{"url":"http://public2.vulnerablecode.io/api/packages/577071?format=json","purl":"pkg:npm/path-to-regexp@0.1.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.7"},{"url":"http://public2.vulnerablecode.io/api/packages/577072?format=json","purl":"pkg:npm/path-to-regexp@0.1.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.8"},{"url":"http://public2.vulnerablecode.io/api/packages/577073?format=json","purl":"pkg:npm/path-to-regexp@0.1.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-r95c-k4nq-jbd1"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.9"},{"url":"http://public2.vulnerablecode.io/api/packages/48561?format=json","purl":"pkg:npm/path-to-regexp@0.1.10","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.10"},{"url":"http://public2.vulnerablecode.io/api/packages/733095?format=json","purl":"pkg:npm/path-to-regexp@0.1.11","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2xgj-yjdf-nqeh"},{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.11"},{"url":"http://public2.vulnerablecode.io/api/packages/51278?format=json","purl":"pkg:npm/path-to-regexp@0.1.12","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vzcu-mpsr-qbgm"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@0.1.12"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-4867.json","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-4867.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4867","reference_id":"","reference_type":"","scores":[{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15334","published_at":"2026-04-26T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15337","published_at":"2026-04-24T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15298","published_at":"2026-04-21T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15247","published_at":"2026-04-18T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15243","published_at":"2026-04-16T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15325","published_at":"2026-04-13T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15391","published_at":"2026-04-12T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.1543","published_at":"2026-04-11T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15468","published_at":"2026-04-09T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15418","published_at":"2026-04-08T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.1533","published_at":"2026-04-07T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.15529","published_at":"2026-04-04T12:55:00Z"},{"value":"0.0005","scoring_system":"epss","scoring_elements":"0.1546","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00054","scoring_system":"epss","scoring_elements":"0.16632","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00054","scoring_system":"epss","scoring_elements":"0.16762","published_at":"2026-04-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4867"},{"reference_url":"https://blakeembrey.com/posts/2024-09-web-redos","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-26T16:52:08Z/"}],"url":"https://blakeembrey.com/posts/2024-09-web-redos"},{"reference_url":"https://cna.openjsf.org/security-advisories.html","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-26T16:52:08Z/"}],"url":"https://cna.openjsf.org/security-advisories.html"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4867","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4867"},{"reference_url":"https://github.com/advisories/GHSA-9wv6-86v2-598j","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-26T16:52:08Z/"}],"url":"https://github.com/advisories/GHSA-9wv6-86v2-598j"},{"reference_url":"https://github.com/pillarjs/path-to-regexp","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/pillarjs/path-to-regexp"},{"reference_url":"https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13"},{"reference_url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-37ch-88jc-xwx2","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-37ch-88jc-xwx2"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4867","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4867"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451783","reference_id":"2451783","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451783"},{"reference_url":"https://github.com/advisories/GHSA-37ch-88jc-xwx2","reference_id":"GHSA-37ch-88jc-xwx2","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-37ch-88jc-xwx2"}],"weaknesses":[{"cwe_id":1333,"name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"5.3 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-vzcu-mpsr-qbgm"}