{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/23228?format=json","vulnerability_id":"VCID-1vjw-mm86-k7gn","summary":"path-to-regexp vulnerable to Denial of Service via sequential optional groups\n### 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.","aliases":[{"alias":"CVE-2026-4926"},{"alias":"GHSA-j3q9-mxjg-w52f"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/932509?format=json","purl":"pkg:deb/debian/node-path-to-regexp@8.4.0-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.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/1103678?format=json","purl":"pkg:deb/debian/node-path-to-regexp@8.4.2-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@8.4.2-1"},{"url":"http://public2.vulnerablecode.io/api/packages/1103009?format=json","purl":"pkg:deb/debian/node-path-to-regexp@8.4.2-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.2-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/66065?format=json","purl":"pkg:npm/path-to-regexp@8.4.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.4.0"}],"affected_packages":[{"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/994728?format=json","purl":"pkg:deb/debian/node-path-to-regexp@6.2.0-1","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"},{"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/994729?format=json","purl":"pkg:deb/debian/node-path-to-regexp@6.2.1-1","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"},{"url":"http://public2.vulnerablecode.io/api/packages/994730?format=json","purl":"pkg:deb/debian/node-path-to-regexp@6.3.0-1","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"},{"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/48565?format=json","purl":"pkg:npm/path-to-regexp@8.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/1082496?format=json","purl":"pkg:npm/path-to-regexp@8.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/1082497?format=json","purl":"pkg:npm/path-to-regexp@8.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/1082498?format=json","purl":"pkg:npm/path-to-regexp@8.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vjw-mm86-k7gn"},{"vulnerability":"VCID-366w-k4rs-v7d3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.3.0"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-4926.json","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-4926.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4926","reference_id":"","reference_type":"","scores":[{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16236","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.1624","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16347","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16313","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16292","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16356","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16417","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16457","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16472","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16469","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16414","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16328","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00052","scoring_system":"epss","scoring_elements":"0.16531","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17787","published_at":"2026-05-16T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17646","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17503","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17595","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17694","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17655","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17692","published_at":"2026-05-12T12:55:00Z"},{"value":"0.00057","scoring_system":"epss","scoring_elements":"0.17771","published_at":"2026-05-15T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4926"},{"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-27T19:44:44Z/"}],"url":"https://cna.openjsf.org/security-advisories.html"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4926","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4926"},{"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/security/advisories/GHSA-j3q9-mxjg-w52f","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-j3q9-mxjg-w52f"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4926","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-4926"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132020","reference_id":"1132020","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132020"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451867","reference_id":"2451867","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451867"},{"reference_url":"https://github.com/advisories/GHSA-j3q9-mxjg-w52f","reference_id":"GHSA-j3q9-mxjg-w52f","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-j3q9-mxjg-w52f"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:10153","reference_id":"RHSA-2026:10153","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:10153"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:10172","reference_id":"RHSA-2026:10172","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:10172"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:10175","reference_id":"RHSA-2026:10175","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:10175"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:13545","reference_id":"RHSA-2026:13545","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:13826","reference_id":"RHSA-2026:13826","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:13826"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:9385","reference_id":"RHSA-2026:9385","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:9385"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:9742","reference_id":"RHSA-2026:9742","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:9742"}],"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":400,"name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."},{"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":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-1vjw-mm86-k7gn"}