HIGH 7.5

CVE-2026-59094: Unauthenticated Denial-of-Service in Pathway Document Store Glob Pattern Matching

Pathway versions through 0.31.1 contain a denial-of-service vulnerability in the document store's glob pattern matching logic. When users submit search queries with filepath patterns to unauthenticated API endpoints, the system processes these patterns inefficiently, consuming excessive CPU resources. An attacker can craft a specially formatted pattern to freeze the application for tens of seconds per request; sending just a handful of such requests can render the service unavailable to legitimate users.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-407
Affected products
0 configuration(s)
Published / Modified
2026-07-02 / 2026-07-14

NVD description (verbatim)

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.

4 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-59094 exploits a hand-written recursive glob pattern matcher in Pathway's document store that lacks memoization. The vulnerability exists in the /v1/retrieve, /v1/inputs, and /v2/answer endpoints, which accept user-supplied filepath_globpattern values from unauthenticated HTTP requests without validation on pattern length or token count. The matcher branches exponentially on each ** (double-asterisk) wildcard token, producing O(2^n) complexity where n is the number of ** tokens in the pattern. A single malicious request can trigger CPU exhaustion lasting 10–60 seconds; multiple concurrent requests reliably saturate resources and trigger service timeouts.

Business impact

This vulnerability enables trivial remote denial-of-service attacks against Pathway deployments. No authentication is required, and attack tooling is elementary. Services relying on Pathway for document retrieval or question-answering workflows will experience service interruptions, impacting end-user availability and potentially disrupting downstream applications or SLAs. The low barrier to exploitation means threat actors require minimal sophistication; denial-of-service campaigns could be launched by script-kiddie threat actors or integrated into automated vulnerability scanning/exploitation suites.

Affected systems

Pathway versions up to and including 0.31.1 are affected. The vulnerability is present in any deployment that exposes the /v1/retrieve, /v1/inputs, or /v2/answer endpoints to network traffic. Confirm your deployed version against vendor advisory guidance; the fix is available in commit d09722e and subsequent releases.

Exploitability

Exploitability is extremely high. No credentials, authentication tokens, or prior system knowledge are required. An attacker needs only to craft a glob pattern with multiple ** tokens and send it via HTTP POST or GET to a vulnerable endpoint. The attack is deterministic and repeatable, with no race conditions or timing windows. Automated attack tools would be trivial to develop. The CVSS 3.1 score of 7.5 (HIGH) reflects the availability impact; the attack vector is Network (AV:N), requires no privileges (PR:N), no user interaction (UI:N), and affects only availability (A:H), not confidentiality or integrity.

Remediation

Upgrade to Pathway versions that include commit d09722e or later. Verify the exact patch version in vendor security advisories before deploying. As an interim mitigation, network-level rate limiting on the three vulnerable endpoints can slow exploitation but does not eliminate the risk; apply strict limits on request frequency and pattern complexity if immediate patching is not feasible. Do not rely solely on rate limiting as a long-term solution.

Patch guidance

Apply the vendor patch by upgrading Pathway to the fixed version indicated in the official security advisory. Before upgrading, test the patched version in a staging environment to confirm compatibility with your application and any custom glob patterns in use. The fix replaces the exponential matcher with a memoized or polynomial-time algorithm; upgrade as soon as possible, prioritizing internet-facing or load-bearing deployments.

Detection guidance

Monitor application logs for anomalously long request processing times on /v1/retrieve, /v1/inputs, and /v2/answer endpoints. Watch for POST or GET requests containing filepath_globpattern parameters with many ** tokens or unusually long pattern strings. Implement alerts for response times exceeding your baseline by 10× or more on these endpoints. Network-level monitoring can flag repeated requests to these endpoints from the same source within short time windows. Correlate high CPU usage with inbound requests to these endpoints to identify active exploitation attempts.

Why prioritize this

This vulnerability warrants immediate attention due to its trivial exploitability, lack of authentication requirement, and direct impact on service availability. It is not listed on the KEV catalog, indicating it may have lower visibility in threat landscapes, but the low attack complexity makes it an attractive target for opportunistic or targeted denial-of-service campaigns. Organizations should prioritize patching within days rather than weeks.

Risk score, explained

The CVSS 3.1 score of 7.5 (HIGH) correctly reflects a severe but not critical vulnerability. The attack vector is Network, accessibility is unauthenticated, and there are no special conditions (AC:L). However, the impact is limited to availability (denial of service); confidentiality and integrity remain unaffected. The score does not account for business context (e.g., how critical Pathway is to your operations), so assess internal risk independently. If Pathway is essential to customer-facing services, treat this as business-critical and accelerate patching.

Frequently asked questions

Can an attacker retrieve sensitive documents using this vulnerability?

No. This vulnerability affects only availability (denial of service). It does not bypass authentication, expose data, or permit unauthorized document access. The attacker cannot read or modify documents; they can only exhaust CPU resources to slow or halt the service.

Do we need authentication or special privileges to exploit this?

No. The vulnerable endpoints are explicitly unauthenticated HTTP endpoints. Any remote attacker on the network can craft and send a malicious pattern without credentials, API keys, or prior access.

What glob patterns trigger the exponential behavior?

Any pattern containing multiple ** (double-asterisk) tokens will trigger exponential backtracking. A pattern like 'a/**/b/**/c/**' with just three ** tokens can consume tens of seconds of CPU. The more ** tokens, the worse the impact.

Is there a workaround if we cannot patch immediately?

Network-level rate limiting on the three vulnerable endpoints can reduce (but not eliminate) risk by slowing attack attempts. Strict limits on request frequency and pattern string length are recommended interim measures. However, patching remains the only reliable fix. Do not delay patching beyond a few days.

This analysis is provided for informational purposes and should not be used as a substitute for vendor guidance or internal security assessment. Organizations should verify patch availability and compatibility against official Pathway security advisories before deployment. The information herein is accurate as of the date of publication; threat landscapes and vendor remediation timelines may change. Always consult your vendor and security team before making patching or mitigation decisions. Source: NVD (public-domain), retrieved 2026-08-11. Analysis generated by SEC.co (claude-haiku-4-5).