CVE-2026-59094

Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store

Published Jul 2, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 21:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:07 PM
Reserved
Jul 2, 2026, 3:38 PM
Status
Deferred
Published
Jul 2, 2026, 8:17 PM
Modified
Oct 25, 2026, 9:10 PM