{"answers":{"affected":"2 open source packages ship an affected version, including path-to-regexp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-4926 in the wild and no public exploit code.","fix":"Upgrade path-to-regexp to 8.4.0 or later.","what":"CVE-2026-4926 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-4926 and fix it if it is affected.\n\nWhat it is: CVE-2026-4926 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-4926 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- path-to-regexp (npm): affected from 8.0.0; fixed in 8.4.0\n- path-to-regexp (npm): affected from 8.0.0; fixed in 8.4.0\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-4926/ (Markdown: https://insights.sbomify.com/CVE-2026-4926/index.md)","id":"CVE-2026-4926","markdown":"https://insights.sbomify.com/CVE-2026-4926/index.md","name":"CVE-2026-4926","record":{"aliases":["CLEANSTART-2026-SQ74175","CLEANSTART-2026-VD42799","DEBIAN-CVE-2026-4926","ECHO-9ff9-3f52-fbaa","GHSA-j3q9-mxjg-w52f","MINI-22q9-x836-pwjx","MINI-2g39-g3m7-2f6v","MINI-3836-phfh-cxwr","MINI-3vgm-fx6q-75g9","MINI-3xxc-fppr-h424","MINI-52rh-rxcv-w42m","MINI-5mmq-854p-4mpr","MINI-6rpq-r774-c2rv","MINI-9ww4-g39r-r7jv","MINI-cfrj-56rf-mfvf","MINI-fxv9-f25c-5wgq","MINI-mg32-6mcr-m73g","MINI-pf52-g95p-crr9","MINI-vjxh-jmx2-hmmg","ROOT-APP-NPM-CVE-2026-4926"],"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":"Attackers can cause denial of service by triggering exponential regex growth in path-to-regexp via sequential optional groups.","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-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"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\nPatches:\n\nFixed in version 8.4.0.\n\nWorkarounds:\n\nLimit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns.","ecosystems":["npm"],"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 Denial of Service via sequential optional groups","id":"CVE-2026-4926","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Information disclosure in Server","id":"CVE-2026-4927"},"packages":[{"ecosystem":"npm","fixed":["8.4.0"],"introduced":["8.0.0"],"last_affected":[],"package":"path-to-regexp","purl":null,"source":"GHSA-j3q9-mxjg-w52f"},{"ecosystem":"npm","fixed":["8.4.0"],"introduced":["8.0.0"],"last_affected":[],"package":"path-to-regexp","purl":"pkg:npm/path-to-regexp","source":"GHSA-j3q9-mxjg-w52f"}],"prev":{"headline":"Missing authorization in Server","id":"CVE-2026-4925"},"products":["path-to-regexp"],"published":"2026-03-26","related":[{"cvss_score":7.5,"headline":"path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters","id":"CVE-2026-4867","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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-09-17","vendors":["path-to-regexp"]},"summary":"Attackers can cause denial of service by triggering exponential regex growth in path-to-regexp via sequential optional groups.","url":"https://insights.sbomify.com/CVE-2026-4926/"}