{"schemaVersion":4,"id":"CVE-2026-139998","aliases":["GHSA-x8j4-g9rr-8j87","CGA-3p85-3w63-964p","CGA-f267-xrf7-v22c","CGA-p8m4-v45w-rq95","CGA-w469-85m3-jww2","CGA-jp47-jgjp-j5xp","CGA-m48q-h5vr-3jg3"],"status":"published","duplicateOf":null,"title":"React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling","description":"React Router is a router for React. From 6.0.0 until 7.18.3 and 8.3.1, react Router's regular-expression-based route matching can perform excessive work when processing specially crafted long paths. Declarative, Data, Framework, unstable RSC Data, and unstable RSC Framework applications can consume excessive CPU in the browser or server, depending on where matching occurs, causing denial of service. This issue is fixed in versions 7.18.3 and 8.3.1.","dates":{"published":"2026-11-30T21:10:46.533Z","modified":"2026-12-03T15:43:59.497Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00747,"percentile":0.56233,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-01T00:00:00.000Z","score":0.00728,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00728,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00728,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00747,"percentile":0.56233}],"last30":[{"date":"2026-12-01T00:00:00.000Z","score":0.00728,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00728,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00728,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00747,"percentile":0.56233}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_7D5C2611D4AEA27A","name":"Exploit Reference (tenable.com)","source":"reference","url":"https://www.tenable.com/cve/CVE-2026-139998","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"chainguard","product":"airflow-2","name":"airflow-2","label":"airflow-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-24","name":"vitess-24","label":"vitess-24","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-24","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 24.0.5-r16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"24.0.5-r16","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 24.0.5-r16","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-24","name":"vitess-24","label":"vitess-24","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-24","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 24.0.5-r16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"24.0.5-r16","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 24.0.5-r16","eol":null,"hubHref":null},{"vendor":"Npm","product":"react-router","name":"react-router","label":"react-router","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/react-router","purlType":"npm","versions":[{"text":"≥ 6.0.0, < 7.18.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0.0","startInclusive":true,"end":"7.18.3","endInclusive":false}},{"text":"≥ 8.0.0, < 8.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.3.1","endInclusive":false}}],"versionsText":"≥ 6.0.0, < 7.18.3 | ≥ 8.0.0, < 8.3.1","eol":null,"hubHref":null},{"vendor":"remix-run","product":"react-router","name":"react-router","label":"react-router","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 7.18.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0.0","startInclusive":true,"end":"7.18.3","endInclusive":false}},{"text":"≥ 8.0.0, < 8.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.3.1","endInclusive":false}}],"versionsText":"≥ 6.0.0, < 7.18.3 | ≥ 8.0.0, < 8.3.1","eol":null,"hubHref":"/vendor/remix-run/react-router"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87","label":"github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/remix-run/react-router/pull/15417","label":"github.com/remix-run/react-router/pull/15417","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/pull/15423","label":"github.com/remix-run/react-router/pull/15423","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c","label":"github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0","label":"github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831","label":"github.com/remix-run/react-router/blob/main/CHANGELOG.md","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183","label":"github.com/remix-run/react-router/blob/v7/CHANGELOG.md","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/remix-run/react-router/releases/tag/react-router@7.18.3","label":"github.com/remix-run/react-router/releases/tag/react-router@7.18.3","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/remix-run/react-router/releases/tag/react-router@8.3.1","label":"github.com/remix-run/react-router/releases/tag/react-router@8.3.1","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139998","label":"nvd.nist.gov/vuln/detail/CVE-2026-139998","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/remix-run/react-router","label":"github.com/remix-run/react-router","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139998.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139998.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.tenable.com/cve/CVE-2026-139998","label":"www.tenable.com/cve/CVE-2026-139998","hostname":"www.tenable.com","tags":["Exploit"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-30T21:10:46.533Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T15:43:59.497Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (reference, Date unknown)","nextStep":"Check applicability: affected before 7.18.3, 8.3.1 (CNA); fix release not confirmed","rank":[0,0,0,1,1,87],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00747,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T15:43:59.497Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T15:43:59.497Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_npm","date":"2026-12-03T15:43:59.497Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_wolfi","date":"2026-12-03T15:43:59.497Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_chainguard","date":"2026-12-03T15:43:59.497Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T15:42:39.636Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.00747,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:20:18.313Z","stale":false,"partial":false}}