| Title | duartium papers-mcp-server 0.1.0 Path Traversal |
|---|
| Description | The search_papers() MCP tool uses the caller-controlled topic string to derive a directory name under papers/, but it only lowercases the string and replaces spaces with underscores. Traversal sequences and path separators survive unchanged. The server then creates the directory and writes papers_info.json inside it. A topic such as ../../../../tmp/papers_poc therefore escapes the intended papers/ workspace and creates or overwrites /tmp/papers_poc/papers_info.json. |
|---|
| Source | ⚠️ https://github.com/duartium/papers-mcp-server/issues/1 |
|---|
| User | SmallW (UID 97245) |
|---|
| Submission | 04/10/2026 14:41 (18 days ago) |
|---|
| Moderation | 04/27/2026 16:02 (17 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 359805 [duartium papers-mcp-server 9ceb3812a6458ba7922ca24a7406f8807bc55598 src/main.py search_papers topic path traversal] |
|---|
| Points | 20 |
|---|