{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.31.1"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3c9582cb81b16fcb786dc32924eaad35426f8c36"
            },
            {
              "fixed": "d09722eef03fd94bba701836eb4c7fbfa3d3b88e"
            }
          ],
          "repo": "https://github.com/pathwaycom/pathway",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59094.json"
  },
  "details": "Pathway through 0.31.1, fixed in commit d09722e, document store applies a caller-supplied glob pattern to indexed document paths using a hand-written recursive matcher that branches two ways on each ** token without memoization, giving exponential worst-case complexity. The filepath_globpattern value is taken from the body of the unauthenticated HTTP endpoints /v1/retrieve, /v1/inputs and /v2/answer and compiled into a filter evaluated once per indexed document, with no length or **-count limit. A remote unauthenticated attacker can submit a short pattern containing many ** tokens to consume CPU for tens of seconds per request, and a small number of requests denies service.",
  "id": "CVE-2026-59094",
  "modified": "2026-07-16T03:31:05.658716379Z",
  "published": "2026-07-02T19:40:50.961Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59094.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59094"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pathway-unauthenticated-denial-of-service-via-exponential-glob-pattern-matching-in-document-store"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pathwaycom/pathway/pull/250"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pathwaycom/pathway/commit/d09722eef03fd94bba701836eb4c7fbfa3d3b88e"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pathwaycom/pathway"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/pathwaycom/pathway/issues/241"
    }
  ],
  "schema_version": "1.8.0",
  "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": "Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store"
}