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.
Published: 2026-07-02
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Pathway's document store handles glob patterns supplied by callers without any length or token-count restrictions, an inefficient pattern matching flaw identified as CWE-407. Because the engine uses a simple recursive matcher that branches on each token, a short pattern with many tokens forces the code to explore an exponential number of paths. An unauthenticated user can submit such a pattern through the /v1/retrieve, /v1/inputs, and /v2/answer endpoints, causing the process to consume large amounts of CPU for tens of seconds per request. The resulting slowdown can bring the system to a halt with only a few requests.

Affected Systems

The vulnerability exists in all Pathway releases up to and including version 0.31.1. The patch that eliminates the issue is contained in commit d09722e and applies to the Pathway project.

Risk and Exploitability

The flaw carries a CVSS score of 8.7, indicating high severity. Although the exposed endpoints are publicly reachable and require no authentication, making exploitation straightforward, an attacker can trigger service degradation or denial of Service with just a handful of crafted requests, and the lack of input limits means the attack can be executed repeatedly. The vulnerability is not listed in CISA's KEV catalog, indicating it has not been reported as exploited in the wild yet. The EPSS score is < 1%, indicating a very low probability of exploitation. The likely attack vector involves sending crafted glob patterns to the unauthenticated HTTP endpoints.

Generated by OpenCVE AI on July 21, 2026 at 10:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch corresponding to commit d09722e
  • If an upgrade is not immediately possible, block or remove the vulnerable endpoints and enforce an authentication requirement
  • Implement request rate limiting or a firewall rule to restrict the volume of requests sent to the document-store API
  • Monitor CPU usage and response times to detect potential abuse

Generated by OpenCVE AI on July 21, 2026 at 10:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store
First Time appeared Pathwaycom
Pathwaycom pathway
Weaknesses CWE-407
CPEs cpe:2.3:a:pathwaycom:pathway:*:*:*:*:*:*:*:*
Vendors & Products Pathwaycom
Pathwaycom pathway
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Subscriptions

Pathwaycom Pathway
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:21.697Z

Reserved: 2026-07-02T15:38:18.928Z

Link: CVE-2026-59094

cve-icon Vulnrichment

Updated: 2026-07-06T16:20:07.058Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:00:05Z

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity