{"id":"GHSA-j3q9-mxjg-w52f","revision":"f86761b323ae4239bea6017010d21379","records":[{"revision":"f86761b323ae4239bea6017010d21379","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-j3q9-mxjg-w52f","aliases":["CVE-2026-4926"],"title":"path-to-regexp vulnerable to Denial of Service via sequential optional groups","description":"### Impact\n\nA bad regular expression is generated any time you have multiple sequential optional groups (curly brace syntax), such as `{a}{b}{c}:z`. The generated regex grows exponentially with the number of groups, causing denial of service.\n\n### Patches\n\nFixed in version 8.4.0.\n\n### Workarounds\n\nLimit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns.","state":0,"publishedAt":"2026-03-27T22:23:27+00:00","modifiedAt":"2026-09-10T03:50:39.7620149+00:00","affected":[{"ecosystem":"npm","name":"path-to-regexp","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0"},{"kind":"fixed","version":"8.4.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-j3q9-mxjg-w52f","https://nvd.nist.gov/vuln/detail/CVE-2026-4926","https://cna.openjsf.org/security-advisories.html","https://github.com/pillarjs/path-to-regexp"],"sourceUrl":"https://github.com/advisories/GHSA-j3q9-mxjg-w52f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j3q9-mxjg-w52f","identifiers":["GHSA-j3q9-mxjg-w52f","CVE-2026-4926"]},"retained":false,"historicalAffected":[]}],"coverage":[]}