{"id":"CVE-2026-59094","state":"PUBLISHED","title":"Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store","description":"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.","publishedAt":"2026-07-02T19:40:50.961Z","updatedAt":"2026-07-14T22:03:21.697Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["pathwaycom pathway"],"affected":[{"vendor":"pathwaycom","product":"pathway","packageURL":"pkg:github/pathwaycom/pathway","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.31.1","versionType":"semver"},{"version":"d09722eef03fd94bba701836eb4c7fbfa3d3b88e","status":"unaffected","versionType":"git"}],"repo":"https://github.com/pathwaycom/pathway"}],"references":["https://github.com/pathwaycom/pathway/issues/241","https://github.com/pathwaycom/pathway/pull/250","https://github.com/pathwaycom/pathway/commit/d09722eef03fd94bba701836eb4c7fbfa3d3b88e","https://www.vulncheck.com/advisories/pathway-unauthenticated-denial-of-service-via-exponential-glob-pattern-matching-in-document-store"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59094.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59094","state":"PUBLISHED","datePublished":"2026-07-02T19:40:50.961Z","dateUpdated":"2026-07-14T22:03:21.697Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-02T15:38:18.928Z"},"containers":{"cna":{"title":"Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pathwaycom","product":"pathway","packageURL":"pkg:github/pathwaycom/pathway","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.31.1","versionType":"semver"},{"version":"d09722eef03fd94bba701836eb4c7fbfa3d3b88e","status":"unaffected","versionType":"git"}],"repo":"https://github.com/pathwaycom/pathway"}],"references":[{"url":"https://github.com/pathwaycom/pathway/issues/241","name":"Researcher Disclosure","tags":["technical-description","exploit"]},{"url":"https://github.com/pathwaycom/pathway/pull/250","name":"Fix PR","tags":["issue-tracking"]},{"url":"https://github.com/pathwaycom/pathway/commit/d09722eef03fd94bba701836eb4c7fbfa3d3b88e","name":"Fix Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/pathway-unauthenticated-denial-of-service-via-exponential-glob-pattern-matching-in-document-store","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":7.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T22:03:21.697Z"},"tags":["x_open-source"],"datePublic":"2026-06-12T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pathwaycom:pathway:*:*:*:*:*:*:*:*","versionEndIncluding":"0.31.1"}]}]}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-06T16:19:28.535653Z","id":"CVE-2026-59094","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-06T16:20:13.394Z"}}]}}}