Severity by source
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
Remote unauthenticated endpoint (AV:N/PR:N), trivially crafted pattern (AC:L), no confidentiality or integrity impact and no scope change, availability fully impacted (A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Denial of service in Pathway data-processing framework (versions through 0.31.1) lets a remote unauthenticated attacker exhaust CPU by submitting a short glob pattern packed with many tokens to the document store's /v1/retrieve, /v1/inputs and /v2/answer endpoints. The hand-written recursive matcher branches exponentially on each without memoization, so a handful of crafted requests can stall the service for tens of seconds each and deny availability. Publicly available exploit code exists and a vendor patch (commit d09722e) is available; the flaw is not listed in CISA KEV.
Technical ContextAI
Pathway (pathwaycom/pathway) is a Python framework for real-time data processing and LLM/RAG pipelines; the affected component is its document store, which exposes HTTP retrieval endpoints. The vulnerability is a CWE-407 (Inefficient Algorithmic Complexity) issue: a caller-supplied filepath_globpattern is compiled into a filter and evaluated once per indexed document using a custom recursive glob matcher. Because each token spawns two recursive branches with no memoization, matching cost grows exponentially with the number of tokens - a classic algorithmic-complexity / ReDoS-style amplification, but in a bespoke glob engine rather than a regex library. No length limit or **-count cap is applied to the untrusted input.
RemediationAI
Upstream fix available (commit d09722e via PR #250); a released patched version number is not independently confirmed from the provided data, so upgrade to the first tagged Pathway release that includes commit d09722eef03fd94bba701836eb4c7fbfa3d3b88e (verify against the repository beyond 0.31.1). Until patched, restrict or remove untrusted network access to the document store endpoints /v1/retrieve, /v1/inputs and /v2/answer - for example place them behind authentication or an allowlisted reverse proxy - accepting that this breaks any legitimate anonymous retrieval clients. As a targeted compensating control, enforce input validation on the filepath_globpattern field by capping pattern length and the number of ** tokens at the proxy/WAF layer, and apply per-request CPU/time limits and rate limiting so a single slow request cannot monopolize a worker; these mitigations may reject some legitimate broad glob queries. See the VulnCheck advisory (https://www.vulncheck.com/advisories/pathway-unauthenticated-denial-of-service-via-exponential-glob-pattern-matching-in-document-store) and the patch commit for authoritative details.
Same weakness CWE-407 – Inefficient Algorithmic Complexity
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41425
GHSA-22xx-xg3v-m8g7