{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-4867 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-4867 is a high-severity denial of service vulnerability in path-to-regexp, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4867 and fix it if it is affected.\n\nWhat it is: CVE-2026-4867 is a high-severity denial of service vulnerability in path-to-regexp, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-4867 in the wild and no public exploit code.\n\nAffected product: path-to-regexp. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4867/ (Markdown: https://insights.sbomify.com/CVE-2026-4867/index.md)","id":"CVE-2026-4867","markdown":"https://insights.sbomify.com/CVE-2026-4867/index.md","name":"CVE-2026-4867","record":{"aliases":["CLEANSTART-2026-QC14914","CLEANSTART-2026-TC19011","CLSA-2026-1777250311","CLSA-2026-1779238048","CLSA-2026-1792663862","CLSA-2026-1792789806","DEBIAN-CVE-2026-4867","ECHO-e0a1-0205-5555","MINI-4wr5-2rwj-j64r","MINI-67f8-6vcm-9cwr","MINI-6hx6-8q5c-hv7f","MINI-6p3h-7c67-3jpm","MINI-9c6m-2rq8-78h5","MINI-gwqj-92qf-vjq8","MINI-gxw2-wj86-9g99","MINI-hg9r-gp9r-q9gm","MINI-hq74-hr54-rc38","MINI-pw5h-m2w9-cpmr","MINI-vgc9-m7cx-6gj4","MINI-vxj4-q95g-23px","MINI-wv2w-xmc4-845r","MINI-xf7q-66rp-g929","ROOT-APP-NPM-CVE-2026-4867"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript routing library","requires_auth":"none","summary":"An attacker can cause a denial of service by triggering catastrophic backtracking in path-to-regexp when using three or more route parameters in a single segment.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"path-to-regexp","vendor":"pillarjs"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters","id":"CVE-2026-4867","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Authorization Bypass Through User-Controlled Key in GitLab","id":"CVE-2026-4868"},"packages":[],"prev":{"headline":"UTT HiPER 1250GW Parameter formConfigDnsFilterGlobal strcpy buffer overflow","id":"CVE-2026-4862"},"products":["path-to-regexp"],"published":"2026-03-26","related":[{"cvss_score":7.5,"headline":"path-to-regexp vulnerable to Denial of Service via sequential optional groups","id":"CVE-2026-4926","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":5.9,"headline":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards","id":"CVE-2026-4923","kev_date_added":null,"published":"2026-03-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-26","vendors":["path-to-regexp"]},"summary":"An attacker can cause a denial of service by triggering catastrophic backtracking in path-to-regexp when using three or more route parameters in a single segment.","url":"https://insights.sbomify.com/CVE-2026-4867/"}