Submit #802080: duartium papers-mcp-server 0.1.0 Path Traversalinfo

Titleduartium papers-mcp-server 0.1.0 Path Traversal
DescriptionThe 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)
Submission04/10/2026 14:41 (18 days ago)
Moderation04/27/2026 16:02 (17 days later)
StatusAccepted
VulDB entry359805 [duartium papers-mcp-server 9ceb3812a6458ba7922ca24a7406f8807bc55598 src/main.py search_papers topic path traversal]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!