{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-4867","published":"2026-03-26T17:16:42.983000Z","last_modified":"2026-06-17T10:57:21.827000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"ce714d77-add3-4f53-aff5-83d477b104bb","primary":false},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:pillarjs:path-to-regexp:*:*:*:*:*:node.js:*:*","part":"a","vendor":"pillarjs","product":"path-to-regexp","version_end_excluding":"0.1.13"}],"cpes_truncated":false,"vendors":["pillarjs"],"products":["pillarjs/path-to-regexp"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-37ch-88jc-xwx2","ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[{"introduced":"0","fixed":"0.1.13"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9wv6-86v2-598j","ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[{"introduced":"0.2.0","fixed":"1.9.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9wv6-86v2-598j","ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[{"introduced":"0","fixed":"0.1.10"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9wv6-86v2-598j","ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[{"introduced":"7.0.0","fixed":"8.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9wv6-86v2-598j","ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[{"introduced":"2.0.0","fixed":"3.3.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9wv6-86v2-598j","ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":[{"introduced":"4.0.0","fixed":"6.3.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-4867/","html_en":"/en/cve/CVE-2026-4867/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-4867","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-4867"},"untrusted":{"vendor_name":"Pillarjs","product_name":"Path-to-regexp","desc_en":"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\nPatches:\n\nUpgrade to path-to-regexp@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\nWorkarounds:\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.","affected":[{"untrusted_vendor":"path-to-regexp","untrusted_product":"path-to-regexp","versions":[]}],"references":[{"url":"https://blakeembrey.com/posts/2024-09-web-redos","tags":["Technical Description"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Third Party Advisory"]},{"url":"https://github.com/advisories/GHSA-9wv6-86v2-598j","tags":["Not Applicable"]}]}}