{"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-4923 in the wild and no public exploit code.","fix":"Upgrade path-to-regexp to 8.4.0 or later.","what":"CVE-2026-4923 is a medium-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-4923 and fix it if it is affected.\n\nWhat it is: CVE-2026-4923 is a medium-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-4923 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-4923/ (Markdown: https://insights.sbomify.com/CVE-2026-4923/index.md)","id":"CVE-2026-4923","markdown":"https://insights.sbomify.com/CVE-2026-4923/index.md","name":"CVE-2026-4923","record":{"aliases":["CLEANSTART-2026-AN94003","CLEANSTART-2026-KM38577","DEBIAN-CVE-2026-4923","ECHO-1509-22ad-8ce5","GHSA-27v5-c462-wpq7","MINI-6v7v-889h-vcq9","MINI-6vf4-rvq2-23mm","MINI-735h-cx4w-4pr5","MINI-7vm9-p8vg-74wr","MINI-8fcg-w36j-43jf","MINI-c6w2-xqrm-wf28","MINI-ggxr-x3v5-chp2","MINI-mv57-qgqr-p8x8","MINI-qw4h-wm39-fx6v","MINI-qxj2-gvg7-wpjg","MINI-r77w-pg34-96g4","MINI-v52w-w34c-mp2r","ROOT-APP-NPM-CVE-2026-4923"],"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 in applications using path-to-regexp by crafting URLs with multiple wildcards that trigger excessive regex backtracking.","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":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/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\nWhen using multiple wildcards, combined with at least one parameter, a regular expression can be generated that is vulnerable to ReDoS. This backtracking vulnerability requires the second wildcard to be somewhere other than the end of the path.\n\nUnsafe examples:\n\n/*foo-*bar-:baz\n/*a-:b-*c-:d\n/x/*a-:b/*c/y\n\nSafe examples:\n\n/*foo-:bar\n/*foo-:bar-*baz\n\nPatches:\n\nUpgrade to version 8.4.0.\n\nWorkarounds:\n\nIf you are using multiple wildcard parameters, you can check the regex output with a tool such as https://makenowjust-labs.github.io/recheck/playground/ to confirm whether a path is vulnerable.","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 Regular Expression Denial of Service via multiple wildcards","id":"CVE-2026-4923","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":"Auth bypass in Server","id":"CVE-2026-4924"},"packages":[{"ecosystem":"npm","fixed":["8.4.0"],"introduced":["8.0.0"],"last_affected":[],"package":"path-to-regexp","purl":null,"source":"GHSA-27v5-c462-wpq7"},{"ecosystem":"npm","fixed":["8.4.0"],"introduced":["8.0.0"],"last_affected":[],"package":"path-to-regexp","purl":"pkg:npm/path-to-regexp","source":"GHSA-27v5-c462-wpq7"}],"prev":{"headline":"Cross-Site Request Forgery (CSRF) in GitLab","id":"CVE-2026-4922"},"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":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"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["path-to-regexp"]},"summary":"Attackers can cause denial of service in applications using path-to-regexp by crafting URLs with multiple wildcards that trigger excessive regex backtracking.","url":"https://insights.sbomify.com/CVE-2026-4923/"}