8.7high
Pathway - Unauthenticated Denial of Service via Exponential Glob Pattern Matching in Document Store
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pathwaycom pathway | up to 0.31.1 Not affected: d09722eef03fd94bba701836eb4c7fbfa3d3b88e | CVE List |
All scores
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| VulnCheck | 8.7high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Ruta a través de 0.31.1, corregido en el commit d09722e, el almacén de documentos aplica un patrón glob proporcionado por el llamador a las rutas de documentos indexados utilizando un comparador recursivo escrito a mano que se ramifica de dos maneras en cada token sin memorización, lo que da una complejidad exponencial en el peor de los casos. El valor filepath_globpattern se toma del cuerpo de los endpoints HTTP no autenticados /v1/retrieve, /v1/inputs y /v2/answer y se compila en un filtro evaluado una vez por documento indexado, sin límite de longitud o de recuento de . Un atacante remoto no autenticado puede enviar un patrón corto que contenga muchos tokens ** para consumir CPU durante decenas de segundos por solicitud, y un pequeño número de solicitudes deniega el servicio.
References
| https://github.com/pathwaycom/pathway/issues/241 | exploit, issue-tracking, technical-description | |
| https://github.com/pathwaycom/pathway/pull/250 | issue-tracking, patch | |
| https://github.com/pathwaycom/pathway/commit/d09722eef03fd94bba701836eb4c7fbfa3d3b88e | patch | |
| https://www.vulncheck.com/advisories/pathway-unauthenticated-denial-of-service-via-exponential-glob-pattern-matching-in-document-store | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59094 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-59094 changed 2026-10-25 | Public domain |