Deepractice PromptX Absolute Path Traversal Vulnerability in Document File Handler

Vulnerability

A vulnerability allowing absolute path traversal has been identified in Deepractice PromptX versions through 2.4.0. The issue resides in the Document File Handler component, specifically within the function read_docx, read_xlsx, read_pptx, list_xlsx_sheets, and read_pdf of the file packages/mcp-office/src/index.ts. This vulnerability allows an attacker to read arbitrary Office or PDF files from the local filesystem by manipulating the path argument, bypassing workspace boundaries. The vulnerability can be exploited remotely, and a public exploit is available.

Impact

Exploitation of this vulnerability allows for arbitrary local file read, with a focus on Office and PDF documents, from any location on the local filesystem, bypassing intended workspace restrictions.

Reproduction

To reproduce this vulnerability, upload a file such as a DOCX or PDF outside the application's designated workspace. Then, send a request to the PromptX MCP server, using the 'tools/call' method with the 'read_docx', 'read_pdf', or similar tool names, and include the absolute path of the uploaded file as the 'path' argument. The response will contain the file's contents, demonstrating that the vulnerability has been successfully exploited.

Added: Apr 28, 2026, 3:21 AM
Updated: Apr 28, 2026, 3:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.8
exploitability
8.7
remediation
0.0
relevance
6.6
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.