{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0.0"
                  },
                  {
                    "fixed": "7.18.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.3.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "308d206e9afe75f8ac20f1028fe93491302bbf8c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "6cc6f7a657e5808a510627ac6d9c0456ddeda9f0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "react-router@7.18.3",
                "range": [
                  {
                    "fixed": "23166dfe7f61323f0d2775af67d2691f9ed0843d"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "react-router@8.3.1",
                "range": [
                  {
                    "fixed": "da2a0f0948af60ba45d9590b427d5e58fe4b0109"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "d85c049b22670a691e2ce6d4d6009c2b6aef4933"
            },
            {
              "fixed": "23166dfe7f61323f0d2775af67d2691f9ed0843d"
            },
            {
              "introduced": "36122b36a8c183dfbe4bcd278c585a80617c921e"
            },
            {
              "fixed": "da2a0f0948af60ba45d9590b427d5e58fe4b0109"
            },
            {
              "fixed": "308d206e9afe75f8ac20f1028fe93491302bbf8c"
            },
            {
              "fixed": "6cc6f7a657e5808a510627ac6d9c0456ddeda9f0"
            }
          ],
          "repo": "https://github.com/remix-run/react-router",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-x8j4-g9rr-8j87"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1333",
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139998.json"
  },
  "details": "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.",
  "id": "CVE-2026-139998",
  "modified": "2026-11-30T22:45:26.736394893Z",
  "published": "2026-11-30T21:10:46.533Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139998.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/pull/15417"
    },
    {
      "type": "FIX",
      "url": "https://github.com/remix-run/react-router/pull/15423"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/remix-run/react-router/releases/tag/react-router@8.3.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139998"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling"
}