CVE-2026-59094 Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store
Unauthenticated attackers can cause denial of service in Pathway by submitting malicious glob patterns that trigger exponential CPU consumption.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-59094?
CVE-2026-59094 is a high-severity denial of service vulnerability in pathwaycom pathway, published on 2 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-407
Which versions are affected by CVE-2026-59094?
How do I fix CVE-2026-59094?
No fix has been published for CVE-2026-59094 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-59094 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59094 exists.
Sources
Also known as GHSA-22xx-xg3v-m8g7.