CyberRota Analysis
AI-GeneratedPathling Server versions prior to 2.0.0 are vulnerable due to a path traversal flaw in the `/$result` endpoint, allowing attackers to access unauthorized files by exploiting valid async export job IDs. This could lead to exposure of sensitive data stored in the warehouse database, posing significant risks to patient privacy and data integrity. Healthcare organizations using Pathling should prioritize upgrading to version 2.0.0 or implementing interim mitigations, such as disabling async export operations and enhancing authentication measures.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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. The `$result` handler now resolves and canonicalizes the requested file path and rejects any request that escapes the job's `jobs/<jobId>` directory. 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.