Elie MCP-Project Path Traversal Vulnerability in Search Papers Function

Vulnerability

A path traversal vulnerability has been identified in Elie MCP-Project version 0.1.0, specifically within the search_papers function of the research_server.py file. The vulnerability arises because the function improperly handles the topic argument, allowing for traversal sequences to escape the intended directory. This issue requires local exploitation.

Impact

Exploitation of this vulnerability allows for arbitrary write access to JSON files outside the designated papers directory, potentially overwriting existing files or creating new ones in an attacker-specified location.

Reproduction

To reproduce this vulnerability, send a request to the MCP interface calling the search_papers tool. Include a topic argument that contains traversal sequences, such as '../', which will escape the intended directory and overwrite or create the papers_info.json file in a location of the attacker's choice.

Remediation

The vulnerability can be addressed by sanitizing the topic input to prevent traversal sequences from escaping the intended directory. Alternatively, a unique identifier can be generated for each search that is safe for use as a filename.

Added: Apr 28, 2026, 10:20 PM
Updated: Apr 28, 2026, 10:20 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
4.6
remediation
0.0
relevance
6.9
threat
6.4
urgency
2.9
incentive
0.0

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