8.7high
Pathling has path traversal in $result endpoint that allows arbitrary warehouse file read
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Pathling is a set of tools that make it easier to use FHIR and clinical terminology within health data analytics. Prior to version 2.0.0 of Pathling Server, Pathling's `/$result` endpoint allows a caller who can obtain any valid async export job ID to supply `file` parameter values containing path traversal sequences. The handler verifies only the supplied `job` and never normalises or confines the requested `file` path to that job's `jobs/<jobId>` directory before opening it as a filesystem resource. Because async export scratch space lives under the same warehouse database root as persisted resource tables, an attacker can use their own export job to read other files from the warehouse. This is fixed in Pathling Server 2.0.0. As an interim mitigation, disable the async export operations (`pathling.operations.exportEnabled`, `patientExportEnabled`, `groupExportEnabled`, `bulkSubmitEnabled`) or enable authentication and restrict export capability to trusted callers.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aehrc pathling | < 2.0.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Pathling is a set of tools that make it easier to use FHIR and clinical terminology within health data analytics. Prior to version 2.0.0 of Pathling Server, Pathling's `/$result` endpoint allows a caller who can obtain any valid async export job ID to supply `file` parameter values containing path traversal sequences. The handler verifies only the supplied `job` and never normalises or confines the requested `file` path to that job's `jobs/<jobId>` directory before opening it as a filesystem resource. Because async export scratch space lives under the same warehouse database root as persisted resource tables, an attacker can use their own export job to read other files from the warehouse. This is fixed in Pathling Server 2.0.0. As an interim mitigation, disable the async export operations (`pathling.operations.exportEnabled`, `patientExportEnabled`, `groupExportEnabled`, `bulkSubmitEnabled`) or enable authentication and restrict export capability to trusted callers.
NVD (es)
Pathling es un conjunto de herramientas que facilitan el uso de FHIR y la terminología clínica en el análisis de datos de salud. Antes de la versión 2.0.0 de Pathling Server, el endpoint “/$result” de Pathling permite a un llamador que puede obtener cualquier ID de trabajo de exportación asíncrono válido suministrar valores para el parámetro “file” que contienen secuencias de salto de ruta. El gestor verifica solo el “job” suministrado y nunca normaliza ni confina la ruta del “file” solicitado al directorio “jobs/[jobId]” de ese trabajo antes de abrirlo como un recurso del sistema de archivos. Debido a que el espacio temporal de exportación asíncrona reside bajo la misma raíz de la base de datos del almacén que las tablas de recursos persistentes, un atacante puede usar su propio trabajo de exportación para leer otros archivos del almacén. Esto se ha corregido en Pathling Server 2.0.0. Como mitigación provisional, deshabilite las operaciones de exportación asíncrona (“pathling.operations.exportEnabled”, “patientExportEnabled”, “groupExportEnabled”, “bulkSubmitEnabled”) o habilite la autenticación y restrinja la capacidad de exportación a llamadores de confianza.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47661 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-47661 changed 2026-10-23 | Public domain |